AWS SDK for C++  1.8.51
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 PUT Bucket metrics in the Amazon Simple Storage Service API Reference.

See Also:

AWS API Reference

Definition at line 38 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, a tag, or a conjunction (MetricsAndOperator).

Definition at line 101 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, a tag, or a conjunction (MetricsAndOperator).

Definition at line 94 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 51 of file MetricsConfiguration.h.

◆ IdHasBeenSet()

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

The ID used to identify the metrics configuration.

Definition at line 56 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, a tag, or a conjunction (MetricsAndOperator).

Definition at line 108 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, a tag, or a conjunction (MetricsAndOperator).

Definition at line 115 of file MetricsConfiguration.h.

◆ SetId() [1/3]

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

The ID used to identify the metrics configuration.

Definition at line 61 of file MetricsConfiguration.h.

◆ SetId() [2/3]

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

The ID used to identify the metrics configuration.

Definition at line 66 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 71 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, a tag, or a conjunction (MetricsAndOperator).

Definition at line 122 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, a tag, or a conjunction (MetricsAndOperator).

Definition at line 129 of file MetricsConfiguration.h.

◆ WithId() [1/3]

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

The ID used to identify the metrics configuration.

Definition at line 76 of file MetricsConfiguration.h.

◆ WithId() [2/3]

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

The ID used to identify the metrics configuration.

Definition at line 81 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 86 of file MetricsConfiguration.h.


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