AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::MediaStore::Model::MetricPolicy Class Reference

#include <MetricPolicy.h>

Public Member Functions

 MetricPolicy ()
 
 MetricPolicy (Aws::Utils::Json::JsonView jsonValue)
 
MetricPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const ContainerLevelMetricsGetContainerLevelMetrics () const
 
bool ContainerLevelMetricsHasBeenSet () const
 
void SetContainerLevelMetrics (const ContainerLevelMetrics &value)
 
void SetContainerLevelMetrics (ContainerLevelMetrics &&value)
 
MetricPolicyWithContainerLevelMetrics (const ContainerLevelMetrics &value)
 
MetricPolicyWithContainerLevelMetrics (ContainerLevelMetrics &&value)
 
const Aws::Vector< MetricPolicyRule > & GetMetricPolicyRules () const
 
bool MetricPolicyRulesHasBeenSet () const
 
void SetMetricPolicyRules (const Aws::Vector< MetricPolicyRule > &value)
 
void SetMetricPolicyRules (Aws::Vector< MetricPolicyRule > &&value)
 
MetricPolicyWithMetricPolicyRules (const Aws::Vector< MetricPolicyRule > &value)
 
MetricPolicyWithMetricPolicyRules (Aws::Vector< MetricPolicyRule > &&value)
 
MetricPolicyAddMetricPolicyRules (const MetricPolicyRule &value)
 
MetricPolicyAddMetricPolicyRules (MetricPolicyRule &&value)
 

Detailed Description

The metric policy that is associated with the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include rules to define groups of objects that you want MediaStore to send object-level metrics for.

To view examples of how to construct a metric policy for your use case, see Example Metric Policies.

See Also:

AWS API Reference

Definition at line 40 of file MetricPolicy.h.

Constructor & Destructor Documentation

◆ MetricPolicy() [1/2]

Aws::MediaStore::Model::MetricPolicy::MetricPolicy ( )

◆ MetricPolicy() [2/2]

Aws::MediaStore::Model::MetricPolicy::MetricPolicy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddMetricPolicyRules() [1/2]

MetricPolicy& Aws::MediaStore::Model::MetricPolicy::AddMetricPolicyRules ( const MetricPolicyRule value)
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 148 of file MetricPolicy.h.

◆ AddMetricPolicyRules() [2/2]

MetricPolicy& Aws::MediaStore::Model::MetricPolicy::AddMetricPolicyRules ( MetricPolicyRule &&  value)
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 158 of file MetricPolicy.h.

◆ ContainerLevelMetricsHasBeenSet()

bool Aws::MediaStore::Model::MetricPolicy::ContainerLevelMetricsHasBeenSet ( ) const
inline

A setting to enable or disable metrics at the container level.

Definition at line 57 of file MetricPolicy.h.

◆ GetContainerLevelMetrics()

const ContainerLevelMetrics& Aws::MediaStore::Model::MetricPolicy::GetContainerLevelMetrics ( ) const
inline

A setting to enable or disable metrics at the container level.

Definition at line 52 of file MetricPolicy.h.

◆ GetMetricPolicyRules()

const Aws::Vector<MetricPolicyRule>& Aws::MediaStore::Model::MetricPolicy::GetMetricPolicyRules ( ) const
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 88 of file MetricPolicy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::MediaStore::Model::MetricPolicy::Jsonize ( ) const

◆ MetricPolicyRulesHasBeenSet()

bool Aws::MediaStore::Model::MetricPolicy::MetricPolicyRulesHasBeenSet ( ) const
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 98 of file MetricPolicy.h.

◆ operator=()

MetricPolicy& Aws::MediaStore::Model::MetricPolicy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetContainerLevelMetrics() [1/2]

void Aws::MediaStore::Model::MetricPolicy::SetContainerLevelMetrics ( const ContainerLevelMetrics value)
inline

A setting to enable or disable metrics at the container level.

Definition at line 62 of file MetricPolicy.h.

◆ SetContainerLevelMetrics() [2/2]

void Aws::MediaStore::Model::MetricPolicy::SetContainerLevelMetrics ( ContainerLevelMetrics &&  value)
inline

A setting to enable or disable metrics at the container level.

Definition at line 67 of file MetricPolicy.h.

◆ SetMetricPolicyRules() [1/2]

void Aws::MediaStore::Model::MetricPolicy::SetMetricPolicyRules ( const Aws::Vector< MetricPolicyRule > &  value)
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 108 of file MetricPolicy.h.

◆ SetMetricPolicyRules() [2/2]

void Aws::MediaStore::Model::MetricPolicy::SetMetricPolicyRules ( Aws::Vector< MetricPolicyRule > &&  value)
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 118 of file MetricPolicy.h.

◆ WithContainerLevelMetrics() [1/2]

MetricPolicy& Aws::MediaStore::Model::MetricPolicy::WithContainerLevelMetrics ( const ContainerLevelMetrics value)
inline

A setting to enable or disable metrics at the container level.

Definition at line 72 of file MetricPolicy.h.

◆ WithContainerLevelMetrics() [2/2]

MetricPolicy& Aws::MediaStore::Model::MetricPolicy::WithContainerLevelMetrics ( ContainerLevelMetrics &&  value)
inline

A setting to enable or disable metrics at the container level.

Definition at line 77 of file MetricPolicy.h.

◆ WithMetricPolicyRules() [1/2]

MetricPolicy& Aws::MediaStore::Model::MetricPolicy::WithMetricPolicyRules ( const Aws::Vector< MetricPolicyRule > &  value)
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 128 of file MetricPolicy.h.

◆ WithMetricPolicyRules() [2/2]

MetricPolicy& Aws::MediaStore::Model::MetricPolicy::WithMetricPolicyRules ( Aws::Vector< MetricPolicyRule > &&  value)
inline

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Definition at line 138 of file MetricPolicy.h.


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