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

#include <PutMetricPolicyRequest.h>

+ Inheritance diagram for Aws::MediaStore::Model::PutMetricPolicyRequest:

Public Member Functions

 PutMetricPolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetContainerName () const
 
bool ContainerNameHasBeenSet () const
 
void SetContainerName (const Aws::String &value)
 
void SetContainerName (Aws::String &&value)
 
void SetContainerName (const char *value)
 
PutMetricPolicyRequestWithContainerName (const Aws::String &value)
 
PutMetricPolicyRequestWithContainerName (Aws::String &&value)
 
PutMetricPolicyRequestWithContainerName (const char *value)
 
const MetricPolicyGetMetricPolicy () const
 
bool MetricPolicyHasBeenSet () const
 
void SetMetricPolicy (const MetricPolicy &value)
 
void SetMetricPolicy (MetricPolicy &&value)
 
PutMetricPolicyRequestWithMetricPolicy (const MetricPolicy &value)
 
PutMetricPolicyRequestWithMetricPolicy (MetricPolicy &&value)
 
- Public Member Functions inherited from Aws::MediaStore::MediaStoreRequest
virtual ~MediaStoreRequest ()
 
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::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 22 of file PutMetricPolicyRequest.h.

Constructor & Destructor Documentation

◆ PutMetricPolicyRequest()

Aws::MediaStore::Model::PutMetricPolicyRequest::PutMetricPolicyRequest ( )

Member Function Documentation

◆ ContainerNameHasBeenSet()

bool Aws::MediaStore::Model::PutMetricPolicyRequest::ContainerNameHasBeenSet ( ) const
inline

The name of the container that you want to add the metric policy to.

Definition at line 46 of file PutMetricPolicyRequest.h.

◆ GetContainerName()

const Aws::String& Aws::MediaStore::Model::PutMetricPolicyRequest::GetContainerName ( ) const
inline

The name of the container that you want to add the metric policy to.

Definition at line 41 of file PutMetricPolicyRequest.h.

◆ GetMetricPolicy()

const MetricPolicy& Aws::MediaStore::Model::PutMetricPolicyRequest::GetMetricPolicy ( ) const
inline

The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:

  • An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period),

    • (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.

  • An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).

Definition at line 93 of file PutMetricPolicyRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::MediaStore::Model::PutMetricPolicyRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::MediaStore::Model::PutMetricPolicyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file PutMetricPolicyRequest.h.

◆ MetricPolicyHasBeenSet()

bool Aws::MediaStore::Model::PutMetricPolicyRequest::MetricPolicyHasBeenSet ( ) const
inline

The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:

  • An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period),

    • (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.

  • An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).

Definition at line 109 of file PutMetricPolicyRequest.h.

◆ SerializePayload()

Aws::String Aws::MediaStore::Model::PutMetricPolicyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetContainerName() [1/3]

void Aws::MediaStore::Model::PutMetricPolicyRequest::SetContainerName ( const Aws::String value)
inline

The name of the container that you want to add the metric policy to.

Definition at line 51 of file PutMetricPolicyRequest.h.

◆ SetContainerName() [2/3]

void Aws::MediaStore::Model::PutMetricPolicyRequest::SetContainerName ( Aws::String &&  value)
inline

The name of the container that you want to add the metric policy to.

Definition at line 56 of file PutMetricPolicyRequest.h.

◆ SetContainerName() [3/3]

void Aws::MediaStore::Model::PutMetricPolicyRequest::SetContainerName ( const char *  value)
inline

The name of the container that you want to add the metric policy to.

Definition at line 61 of file PutMetricPolicyRequest.h.

◆ SetMetricPolicy() [1/2]

void Aws::MediaStore::Model::PutMetricPolicyRequest::SetMetricPolicy ( const MetricPolicy value)
inline

The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:

  • An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period),

    • (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.

  • An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).

Definition at line 125 of file PutMetricPolicyRequest.h.

◆ SetMetricPolicy() [2/2]

void Aws::MediaStore::Model::PutMetricPolicyRequest::SetMetricPolicy ( MetricPolicy &&  value)
inline

The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:

  • An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period),

    • (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.

  • An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).

Definition at line 141 of file PutMetricPolicyRequest.h.

◆ WithContainerName() [1/3]

PutMetricPolicyRequest& Aws::MediaStore::Model::PutMetricPolicyRequest::WithContainerName ( const Aws::String value)
inline

The name of the container that you want to add the metric policy to.

Definition at line 66 of file PutMetricPolicyRequest.h.

◆ WithContainerName() [2/3]

PutMetricPolicyRequest& Aws::MediaStore::Model::PutMetricPolicyRequest::WithContainerName ( Aws::String &&  value)
inline

The name of the container that you want to add the metric policy to.

Definition at line 71 of file PutMetricPolicyRequest.h.

◆ WithContainerName() [3/3]

PutMetricPolicyRequest& Aws::MediaStore::Model::PutMetricPolicyRequest::WithContainerName ( const char *  value)
inline

The name of the container that you want to add the metric policy to.

Definition at line 76 of file PutMetricPolicyRequest.h.

◆ WithMetricPolicy() [1/2]

PutMetricPolicyRequest& Aws::MediaStore::Model::PutMetricPolicyRequest::WithMetricPolicy ( const MetricPolicy value)
inline

The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:

  • An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period),

    • (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.

  • An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).

Definition at line 157 of file PutMetricPolicyRequest.h.

◆ WithMetricPolicy() [2/2]

PutMetricPolicyRequest& Aws::MediaStore::Model::PutMetricPolicyRequest::WithMetricPolicy ( MetricPolicy &&  value)
inline

The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:

  • An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period),

    • (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.

  • An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).

Definition at line 173 of file PutMetricPolicyRequest.h.


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