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

#include <PutMetricStreamRequest.h>

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

Public Member Functions

 PutMetricStreamRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
PutMetricStreamRequestWithName (const Aws::String &value)
 
PutMetricStreamRequestWithName (Aws::String &&value)
 
PutMetricStreamRequestWithName (const char *value)
 
const Aws::Vector< MetricStreamFilter > & GetIncludeFilters () const
 
bool IncludeFiltersHasBeenSet () const
 
void SetIncludeFilters (const Aws::Vector< MetricStreamFilter > &value)
 
void SetIncludeFilters (Aws::Vector< MetricStreamFilter > &&value)
 
PutMetricStreamRequestWithIncludeFilters (const Aws::Vector< MetricStreamFilter > &value)
 
PutMetricStreamRequestWithIncludeFilters (Aws::Vector< MetricStreamFilter > &&value)
 
PutMetricStreamRequestAddIncludeFilters (const MetricStreamFilter &value)
 
PutMetricStreamRequestAddIncludeFilters (MetricStreamFilter &&value)
 
const Aws::Vector< MetricStreamFilter > & GetExcludeFilters () const
 
bool ExcludeFiltersHasBeenSet () const
 
void SetExcludeFilters (const Aws::Vector< MetricStreamFilter > &value)
 
void SetExcludeFilters (Aws::Vector< MetricStreamFilter > &&value)
 
PutMetricStreamRequestWithExcludeFilters (const Aws::Vector< MetricStreamFilter > &value)
 
PutMetricStreamRequestWithExcludeFilters (Aws::Vector< MetricStreamFilter > &&value)
 
PutMetricStreamRequestAddExcludeFilters (const MetricStreamFilter &value)
 
PutMetricStreamRequestAddExcludeFilters (MetricStreamFilter &&value)
 
const Aws::StringGetFirehoseArn () const
 
bool FirehoseArnHasBeenSet () const
 
void SetFirehoseArn (const Aws::String &value)
 
void SetFirehoseArn (Aws::String &&value)
 
void SetFirehoseArn (const char *value)
 
PutMetricStreamRequestWithFirehoseArn (const Aws::String &value)
 
PutMetricStreamRequestWithFirehoseArn (Aws::String &&value)
 
PutMetricStreamRequestWithFirehoseArn (const char *value)
 
const Aws::StringGetRoleArn () const
 
bool RoleArnHasBeenSet () const
 
void SetRoleArn (const Aws::String &value)
 
void SetRoleArn (Aws::String &&value)
 
void SetRoleArn (const char *value)
 
PutMetricStreamRequestWithRoleArn (const Aws::String &value)
 
PutMetricStreamRequestWithRoleArn (Aws::String &&value)
 
PutMetricStreamRequestWithRoleArn (const char *value)
 
const MetricStreamOutputFormatGetOutputFormat () const
 
bool OutputFormatHasBeenSet () const
 
void SetOutputFormat (const MetricStreamOutputFormat &value)
 
void SetOutputFormat (MetricStreamOutputFormat &&value)
 
PutMetricStreamRequestWithOutputFormat (const MetricStreamOutputFormat &value)
 
PutMetricStreamRequestWithOutputFormat (MetricStreamOutputFormat &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
PutMetricStreamRequestWithTags (const Aws::Vector< Tag > &value)
 
PutMetricStreamRequestWithTags (Aws::Vector< Tag > &&value)
 
PutMetricStreamRequestAddTags (const Tag &value)
 
PutMetricStreamRequestAddTags (Tag &&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 25 of file PutMetricStreamRequest.h.

Constructor & Destructor Documentation

◆ PutMetricStreamRequest()

Aws::CloudWatch::Model::PutMetricStreamRequest::PutMetricStreamRequest ( )

Member Function Documentation

◆ AddExcludeFilters() [1/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::AddExcludeFilters ( const MetricStreamFilter value)
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 227 of file PutMetricStreamRequest.h.

◆ AddExcludeFilters() [2/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::AddExcludeFilters ( MetricStreamFilter &&  value)
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 235 of file PutMetricStreamRequest.h.

◆ AddIncludeFilters() [1/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::AddIncludeFilters ( const MetricStreamFilter value)
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 162 of file PutMetricStreamRequest.h.

◆ AddIncludeFilters() [2/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::AddIncludeFilters ( MetricStreamFilter &&  value)
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 170 of file PutMetricStreamRequest.h.

◆ AddTags() [1/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::AddTags ( const Tag value)
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 484 of file PutMetricStreamRequest.h.

◆ AddTags() [2/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::AddTags ( Tag &&  value)
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 493 of file PutMetricStreamRequest.h.

◆ DumpBodyToUrl()

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

◆ ExcludeFiltersHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricStreamRequest::ExcludeFiltersHasBeenSet ( ) const
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 187 of file PutMetricStreamRequest.h.

◆ FirehoseArnHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricStreamRequest::FirehoseArnHasBeenSet ( ) const
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 250 of file PutMetricStreamRequest.h.

◆ GetExcludeFilters()

const Aws::Vector<MetricStreamFilter>& Aws::CloudWatch::Model::PutMetricStreamRequest::GetExcludeFilters ( ) const
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 179 of file PutMetricStreamRequest.h.

◆ GetFirehoseArn()

const Aws::String& Aws::CloudWatch::Model::PutMetricStreamRequest::GetFirehoseArn ( ) const
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 243 of file PutMetricStreamRequest.h.

◆ GetIncludeFilters()

const Aws::Vector<MetricStreamFilter>& Aws::CloudWatch::Model::PutMetricStreamRequest::GetIncludeFilters ( ) const
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 114 of file PutMetricStreamRequest.h.

◆ GetName()

const Aws::String& Aws::CloudWatch::Model::PutMetricStreamRequest::GetName ( ) const
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 49 of file PutMetricStreamRequest.h.

◆ GetOutputFormat()

const MetricStreamOutputFormat& Aws::CloudWatch::Model::PutMetricStreamRequest::GetOutputFormat ( ) const
inline

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

Definition at line 375 of file PutMetricStreamRequest.h.

◆ GetRoleArn()

const Aws::String& Aws::CloudWatch::Model::PutMetricStreamRequest::GetRoleArn ( ) const
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 302 of file PutMetricStreamRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file PutMetricStreamRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::CloudWatch::Model::PutMetricStreamRequest::GetTags ( ) const
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 430 of file PutMetricStreamRequest.h.

◆ IncludeFiltersHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricStreamRequest::IncludeFiltersHasBeenSet ( ) const
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 122 of file PutMetricStreamRequest.h.

◆ NameHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricStreamRequest::NameHasBeenSet ( ) const
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 57 of file PutMetricStreamRequest.h.

◆ OutputFormatHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricStreamRequest::OutputFormatHasBeenSet ( ) const
inline

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

Definition at line 384 of file PutMetricStreamRequest.h.

◆ RoleArnHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricStreamRequest::RoleArnHasBeenSet ( ) const
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 311 of file PutMetricStreamRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetExcludeFilters() [1/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetExcludeFilters ( Aws::Vector< MetricStreamFilter > &&  value)
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 203 of file PutMetricStreamRequest.h.

◆ SetExcludeFilters() [2/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetExcludeFilters ( const Aws::Vector< MetricStreamFilter > &  value)
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 195 of file PutMetricStreamRequest.h.

◆ SetFirehoseArn() [1/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetFirehoseArn ( Aws::String &&  value)
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 264 of file PutMetricStreamRequest.h.

◆ SetFirehoseArn() [2/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetFirehoseArn ( const Aws::String value)
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 257 of file PutMetricStreamRequest.h.

◆ SetFirehoseArn() [3/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetFirehoseArn ( const char *  value)
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 271 of file PutMetricStreamRequest.h.

◆ SetIncludeFilters() [1/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetIncludeFilters ( Aws::Vector< MetricStreamFilter > &&  value)
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 138 of file PutMetricStreamRequest.h.

◆ SetIncludeFilters() [2/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetIncludeFilters ( const Aws::Vector< MetricStreamFilter > &  value)
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 130 of file PutMetricStreamRequest.h.

◆ SetName() [1/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetName ( Aws::String &&  value)
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 73 of file PutMetricStreamRequest.h.

◆ SetName() [2/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetName ( const Aws::String value)
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 65 of file PutMetricStreamRequest.h.

◆ SetName() [3/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetName ( const char *  value)
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 81 of file PutMetricStreamRequest.h.

◆ SetOutputFormat() [1/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetOutputFormat ( const MetricStreamOutputFormat value)
inline

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

Definition at line 393 of file PutMetricStreamRequest.h.

◆ SetOutputFormat() [2/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetOutputFormat ( MetricStreamOutputFormat &&  value)
inline

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

Definition at line 402 of file PutMetricStreamRequest.h.

◆ SetRoleArn() [1/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetRoleArn ( Aws::String &&  value)
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 329 of file PutMetricStreamRequest.h.

◆ SetRoleArn() [2/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetRoleArn ( const Aws::String value)
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 320 of file PutMetricStreamRequest.h.

◆ SetRoleArn() [3/3]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetRoleArn ( const char *  value)
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 338 of file PutMetricStreamRequest.h.

◆ SetTags() [1/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 457 of file PutMetricStreamRequest.h.

◆ SetTags() [2/2]

void Aws::CloudWatch::Model::PutMetricStreamRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 448 of file PutMetricStreamRequest.h.

◆ TagsHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricStreamRequest::TagsHasBeenSet ( ) const
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 439 of file PutMetricStreamRequest.h.

◆ WithExcludeFilters() [1/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithExcludeFilters ( Aws::Vector< MetricStreamFilter > &&  value)
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 219 of file PutMetricStreamRequest.h.

◆ WithExcludeFilters() [2/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithExcludeFilters ( const Aws::Vector< MetricStreamFilter > &  value)
inline

If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

You cannot include ExcludeFilters and IncludeFilters in the same operation.

Definition at line 211 of file PutMetricStreamRequest.h.

◆ WithFirehoseArn() [1/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithFirehoseArn ( Aws::String &&  value)
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 285 of file PutMetricStreamRequest.h.

◆ WithFirehoseArn() [2/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithFirehoseArn ( const Aws::String value)
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 278 of file PutMetricStreamRequest.h.

◆ WithFirehoseArn() [3/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithFirehoseArn ( const char *  value)
inline

The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

Definition at line 292 of file PutMetricStreamRequest.h.

◆ WithIncludeFilters() [1/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithIncludeFilters ( Aws::Vector< MetricStreamFilter > &&  value)
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 154 of file PutMetricStreamRequest.h.

◆ WithIncludeFilters() [2/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithIncludeFilters ( const Aws::Vector< MetricStreamFilter > &  value)
inline

If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

You cannot include IncludeFilters and ExcludeFilters in the same operation.

Definition at line 146 of file PutMetricStreamRequest.h.

◆ WithName() [1/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithName ( Aws::String &&  value)
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 97 of file PutMetricStreamRequest.h.

◆ WithName() [2/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithName ( const Aws::String value)
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 89 of file PutMetricStreamRequest.h.

◆ WithName() [3/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithName ( const char *  value)
inline

If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

If you are updating a metric stream, specify the name of that stream here.

Valid characters are A-Z, a-z, 0-9, "-" and "_".

Definition at line 105 of file PutMetricStreamRequest.h.

◆ WithOutputFormat() [1/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithOutputFormat ( const MetricStreamOutputFormat value)
inline

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

Definition at line 411 of file PutMetricStreamRequest.h.

◆ WithOutputFormat() [2/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithOutputFormat ( MetricStreamOutputFormat &&  value)
inline

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

Definition at line 420 of file PutMetricStreamRequest.h.

◆ WithRoleArn() [1/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithRoleArn ( Aws::String &&  value)
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 356 of file PutMetricStreamRequest.h.

◆ WithRoleArn() [2/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithRoleArn ( const Aws::String value)
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 347 of file PutMetricStreamRequest.h.

◆ WithRoleArn() [3/3]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithRoleArn ( const char *  value)
inline

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:

  • firehose:PutRecord

  • firehose:PutRecordBatch

Definition at line 365 of file PutMetricStreamRequest.h.

◆ WithTags() [1/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 475 of file PutMetricStreamRequest.h.

◆ WithTags() [2/2]

PutMetricStreamRequest& Aws::CloudWatch::Model::PutMetricStreamRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Definition at line 466 of file PutMetricStreamRequest.h.


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