AWS SDK for C++  1.9.110
AWS SDK for C++
Public Member Functions | List of all members
Aws::S3::Model::MetricsConfiguration Class Reference

#include <MetricsConfiguration.h>

Public Member Functions

 MetricsConfiguration ()
 
 MetricsConfiguration (const Aws::Utils::Xml::XmlNode &xmlNode)
 
MetricsConfigurationoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
MetricsConfigurationWithId (const Aws::String &value)
 
MetricsConfigurationWithId (Aws::String &&value)
 
MetricsConfigurationWithId (const char *value)
 
const MetricsFilterGetFilter () const
 
bool FilterHasBeenSet () const
 
void SetFilter (const MetricsFilter &value)
 
void SetFilter (MetricsFilter &&value)
 
MetricsConfigurationWithFilter (const MetricsFilter &value)
 
MetricsConfigurationWithFilter (MetricsFilter &&value)
 

Detailed Description

Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.

See Also:

AWS API Reference

Definition at line 37 of file MetricsConfiguration.h.

Constructor & Destructor Documentation

◆ MetricsConfiguration() [1/2]

Aws::S3::Model::MetricsConfiguration::MetricsConfiguration ( )

◆ MetricsConfiguration() [2/2]

Aws::S3::Model::MetricsConfiguration::MetricsConfiguration ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddToNode()

void Aws::S3::Model::MetricsConfiguration::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ FilterHasBeenSet()

bool Aws::S3::Model::MetricsConfiguration::FilterHasBeenSet ( ) const
inline

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

Definition at line 100 of file MetricsConfiguration.h.

◆ GetFilter()

const MetricsFilter& Aws::S3::Model::MetricsConfiguration::GetFilter ( ) const
inline

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

Definition at line 93 of file MetricsConfiguration.h.

◆ GetId()

const Aws::String& Aws::S3::Model::MetricsConfiguration::GetId ( ) const
inline

The ID used to identify the metrics configuration.

Definition at line 50 of file MetricsConfiguration.h.

◆ IdHasBeenSet()

bool Aws::S3::Model::MetricsConfiguration::IdHasBeenSet ( ) const
inline

The ID used to identify the metrics configuration.

Definition at line 55 of file MetricsConfiguration.h.

◆ operator=()

MetricsConfiguration& Aws::S3::Model::MetricsConfiguration::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ SetFilter() [1/2]

void Aws::S3::Model::MetricsConfiguration::SetFilter ( const MetricsFilter value)
inline

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

Definition at line 107 of file MetricsConfiguration.h.

◆ SetFilter() [2/2]

void Aws::S3::Model::MetricsConfiguration::SetFilter ( MetricsFilter &&  value)
inline

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

Definition at line 114 of file MetricsConfiguration.h.

◆ SetId() [1/3]

void Aws::S3::Model::MetricsConfiguration::SetId ( Aws::String &&  value)
inline

The ID used to identify the metrics configuration.

Definition at line 65 of file MetricsConfiguration.h.

◆ SetId() [2/3]

void Aws::S3::Model::MetricsConfiguration::SetId ( const Aws::String value)
inline

The ID used to identify the metrics configuration.

Definition at line 60 of file MetricsConfiguration.h.

◆ SetId() [3/3]

void Aws::S3::Model::MetricsConfiguration::SetId ( const char *  value)
inline

The ID used to identify the metrics configuration.

Definition at line 70 of file MetricsConfiguration.h.

◆ WithFilter() [1/2]

MetricsConfiguration& Aws::S3::Model::MetricsConfiguration::WithFilter ( const MetricsFilter value)
inline

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

Definition at line 121 of file MetricsConfiguration.h.

◆ WithFilter() [2/2]

MetricsConfiguration& Aws::S3::Model::MetricsConfiguration::WithFilter ( MetricsFilter &&  value)
inline

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

Definition at line 128 of file MetricsConfiguration.h.

◆ WithId() [1/3]

MetricsConfiguration& Aws::S3::Model::MetricsConfiguration::WithId ( Aws::String &&  value)
inline

The ID used to identify the metrics configuration.

Definition at line 80 of file MetricsConfiguration.h.

◆ WithId() [2/3]

MetricsConfiguration& Aws::S3::Model::MetricsConfiguration::WithId ( const Aws::String value)
inline

The ID used to identify the metrics configuration.

Definition at line 75 of file MetricsConfiguration.h.

◆ WithId() [3/3]

MetricsConfiguration& Aws::S3::Model::MetricsConfiguration::WithId ( const char *  value)
inline

The ID used to identify the metrics configuration.

Definition at line 85 of file MetricsConfiguration.h.


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