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

#include <Condition.h>

Public Member Functions

 Condition ()
 
 Condition (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Conditionoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::StringGetHttpErrorCodeReturnedEquals () const
 
void SetHttpErrorCodeReturnedEquals (const Aws::String &value)
 
void SetHttpErrorCodeReturnedEquals (Aws::String &&value)
 
void SetHttpErrorCodeReturnedEquals (const char *value)
 
ConditionWithHttpErrorCodeReturnedEquals (const Aws::String &value)
 
ConditionWithHttpErrorCodeReturnedEquals (Aws::String &&value)
 
ConditionWithHttpErrorCodeReturnedEquals (const char *value)
 
const Aws::StringGetKeyPrefixEquals () const
 
void SetKeyPrefixEquals (const Aws::String &value)
 
void SetKeyPrefixEquals (Aws::String &&value)
 
void SetKeyPrefixEquals (const char *value)
 
ConditionWithKeyPrefixEquals (const Aws::String &value)
 
ConditionWithKeyPrefixEquals (Aws::String &&value)
 
ConditionWithKeyPrefixEquals (const char *value)
 

Detailed Description

Definition at line 33 of file Condition.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void Aws::S3::Model::Condition::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const
const Aws::String& Aws::S3::Model::Condition::GetHttpErrorCodeReturnedEquals ( ) const
inline

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

Definition at line 49 of file Condition.h.

const Aws::String& Aws::S3::Model::Condition::GetKeyPrefixEquals ( ) const
inline

The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

Definition at line 114 of file Condition.h.

Condition& Aws::S3::Model::Condition::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)
void Aws::S3::Model::Condition::SetHttpErrorCodeReturnedEquals ( const Aws::String value)
inline

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

Definition at line 58 of file Condition.h.

void Aws::S3::Model::Condition::SetHttpErrorCodeReturnedEquals ( Aws::String &&  value)
inline

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

Definition at line 67 of file Condition.h.

void Aws::S3::Model::Condition::SetHttpErrorCodeReturnedEquals ( const char *  value)
inline

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

Definition at line 76 of file Condition.h.

void Aws::S3::Model::Condition::SetKeyPrefixEquals ( const Aws::String value)
inline

The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

Definition at line 125 of file Condition.h.

void Aws::S3::Model::Condition::SetKeyPrefixEquals ( Aws::String &&  value)
inline

The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

Definition at line 136 of file Condition.h.

void Aws::S3::Model::Condition::SetKeyPrefixEquals ( const char *  value)
inline

The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

Definition at line 147 of file Condition.h.

Condition& Aws::S3::Model::Condition::WithHttpErrorCodeReturnedEquals ( const Aws::String value)
inline

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

Definition at line 85 of file Condition.h.

Condition& Aws::S3::Model::Condition::WithHttpErrorCodeReturnedEquals ( Aws::String &&  value)
inline

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

Definition at line 94 of file Condition.h.

Condition& Aws::S3::Model::Condition::WithHttpErrorCodeReturnedEquals ( const char *  value)
inline

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

Definition at line 103 of file Condition.h.

Condition& Aws::S3::Model::Condition::WithKeyPrefixEquals ( const Aws::String value)
inline

The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

Definition at line 158 of file Condition.h.

Condition& Aws::S3::Model::Condition::WithKeyPrefixEquals ( Aws::String &&  value)
inline

The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

Definition at line 169 of file Condition.h.

Condition& Aws::S3::Model::Condition::WithKeyPrefixEquals ( const char *  value)
inline

The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

Definition at line 180 of file Condition.h.


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