AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::Backup::Model::ControlScope Class Reference

#include <ControlScope.h>

Public Member Functions

 ControlScope ()
 
 ControlScope (Aws::Utils::Json::JsonView jsonValue)
 
ControlScopeoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Aws::String > & GetComplianceResourceIds () const
 
bool ComplianceResourceIdsHasBeenSet () const
 
void SetComplianceResourceIds (const Aws::Vector< Aws::String > &value)
 
void SetComplianceResourceIds (Aws::Vector< Aws::String > &&value)
 
ControlScopeWithComplianceResourceIds (const Aws::Vector< Aws::String > &value)
 
ControlScopeWithComplianceResourceIds (Aws::Vector< Aws::String > &&value)
 
ControlScopeAddComplianceResourceIds (const Aws::String &value)
 
ControlScopeAddComplianceResourceIds (Aws::String &&value)
 
ControlScopeAddComplianceResourceIds (const char *value)
 
const Aws::Vector< Aws::String > & GetComplianceResourceTypes () const
 
bool ComplianceResourceTypesHasBeenSet () const
 
void SetComplianceResourceTypes (const Aws::Vector< Aws::String > &value)
 
void SetComplianceResourceTypes (Aws::Vector< Aws::String > &&value)
 
ControlScopeWithComplianceResourceTypes (const Aws::Vector< Aws::String > &value)
 
ControlScopeWithComplianceResourceTypes (Aws::Vector< Aws::String > &&value)
 
ControlScopeAddComplianceResourceTypes (const Aws::String &value)
 
ControlScopeAddComplianceResourceTypes (Aws::String &&value)
 
ControlScopeAddComplianceResourceTypes (const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetTags (Aws::Map< Aws::String, Aws::String > &&value)
 
ControlScopeWithTags (const Aws::Map< Aws::String, Aws::String > &value)
 
ControlScopeWithTags (Aws::Map< Aws::String, Aws::String > &&value)
 
ControlScopeAddTags (const Aws::String &key, const Aws::String &value)
 
ControlScopeAddTags (Aws::String &&key, const Aws::String &value)
 
ControlScopeAddTags (const Aws::String &key, Aws::String &&value)
 
ControlScopeAddTags (Aws::String &&key, Aws::String &&value)
 
ControlScopeAddTags (const char *key, Aws::String &&value)
 
ControlScopeAddTags (Aws::String &&key, const char *value)
 
ControlScopeAddTags (const char *key, const char *value)
 

Detailed Description

A framework consists of one or more controls. Each control has its own control scope. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.

To set a control scope that includes all of a particular resource, leave the ControlScope empty or do not pass it when calling CreateFramework.

See Also:

AWS API Reference

Definition at line 39 of file ControlScope.h.

Constructor & Destructor Documentation

◆ ControlScope() [1/2]

Aws::Backup::Model::ControlScope::ControlScope ( )

◆ ControlScope() [2/2]

Aws::Backup::Model::ControlScope::ControlScope ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddComplianceResourceIds() [1/3]

ControlScope& Aws::Backup::Model::ControlScope::AddComplianceResourceIds ( Aws::String &&  value)
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 94 of file ControlScope.h.

◆ AddComplianceResourceIds() [2/3]

ControlScope& Aws::Backup::Model::ControlScope::AddComplianceResourceIds ( const Aws::String value)
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 88 of file ControlScope.h.

◆ AddComplianceResourceIds() [3/3]

ControlScope& Aws::Backup::Model::ControlScope::AddComplianceResourceIds ( const char *  value)
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 100 of file ControlScope.h.

◆ AddComplianceResourceTypes() [1/3]

ControlScope& Aws::Backup::Model::ControlScope::AddComplianceResourceTypes ( Aws::String &&  value)
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 149 of file ControlScope.h.

◆ AddComplianceResourceTypes() [2/3]

ControlScope& Aws::Backup::Model::ControlScope::AddComplianceResourceTypes ( const Aws::String value)
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 143 of file ControlScope.h.

◆ AddComplianceResourceTypes() [3/3]

ControlScope& Aws::Backup::Model::ControlScope::AddComplianceResourceTypes ( const char *  value)
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 155 of file ControlScope.h.

◆ AddTags() [1/7]

ControlScope& Aws::Backup::Model::ControlScope::AddTags ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 216 of file ControlScope.h.

◆ AddTags() [2/7]

ControlScope& Aws::Backup::Model::ControlScope::AddTags ( Aws::String &&  key,
const Aws::String value 
)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 204 of file ControlScope.h.

◆ AddTags() [3/7]

ControlScope& Aws::Backup::Model::ControlScope::AddTags ( Aws::String &&  key,
const char *  value 
)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 228 of file ControlScope.h.

◆ AddTags() [4/7]

ControlScope& Aws::Backup::Model::ControlScope::AddTags ( const Aws::String key,
Aws::String &&  value 
)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 210 of file ControlScope.h.

◆ AddTags() [5/7]

ControlScope& Aws::Backup::Model::ControlScope::AddTags ( const Aws::String key,
const Aws::String value 
)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 198 of file ControlScope.h.

◆ AddTags() [6/7]

ControlScope& Aws::Backup::Model::ControlScope::AddTags ( const char *  key,
Aws::String &&  value 
)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 222 of file ControlScope.h.

◆ AddTags() [7/7]

ControlScope& Aws::Backup::Model::ControlScope::AddTags ( const char *  key,
const char *  value 
)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 234 of file ControlScope.h.

◆ ComplianceResourceIdsHasBeenSet()

bool Aws::Backup::Model::ControlScope::ComplianceResourceIdsHasBeenSet ( ) const
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 58 of file ControlScope.h.

◆ ComplianceResourceTypesHasBeenSet()

bool Aws::Backup::Model::ControlScope::ComplianceResourceTypesHasBeenSet ( ) const
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 113 of file ControlScope.h.

◆ GetComplianceResourceIds()

const Aws::Vector<Aws::String>& Aws::Backup::Model::ControlScope::GetComplianceResourceIds ( ) const
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 52 of file ControlScope.h.

◆ GetComplianceResourceTypes()

const Aws::Vector<Aws::String>& Aws::Backup::Model::ControlScope::GetComplianceResourceTypes ( ) const
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 107 of file ControlScope.h.

◆ GetTags()

const Aws::Map<Aws::String, Aws::String>& Aws::Backup::Model::ControlScope::GetTags ( ) const
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 162 of file ControlScope.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Backup::Model::ControlScope::Jsonize ( ) const

◆ operator=()

ControlScope& Aws::Backup::Model::ControlScope::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetComplianceResourceIds() [1/2]

void Aws::Backup::Model::ControlScope::SetComplianceResourceIds ( Aws::Vector< Aws::String > &&  value)
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 70 of file ControlScope.h.

◆ SetComplianceResourceIds() [2/2]

void Aws::Backup::Model::ControlScope::SetComplianceResourceIds ( const Aws::Vector< Aws::String > &  value)
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 64 of file ControlScope.h.

◆ SetComplianceResourceTypes() [1/2]

void Aws::Backup::Model::ControlScope::SetComplianceResourceTypes ( Aws::Vector< Aws::String > &&  value)
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 125 of file ControlScope.h.

◆ SetComplianceResourceTypes() [2/2]

void Aws::Backup::Model::ControlScope::SetComplianceResourceTypes ( const Aws::Vector< Aws::String > &  value)
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 119 of file ControlScope.h.

◆ SetTags() [1/2]

void Aws::Backup::Model::ControlScope::SetTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 180 of file ControlScope.h.

◆ SetTags() [2/2]

void Aws::Backup::Model::ControlScope::SetTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 174 of file ControlScope.h.

◆ TagsHasBeenSet()

bool Aws::Backup::Model::ControlScope::TagsHasBeenSet ( ) const
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 168 of file ControlScope.h.

◆ WithComplianceResourceIds() [1/2]

ControlScope& Aws::Backup::Model::ControlScope::WithComplianceResourceIds ( Aws::Vector< Aws::String > &&  value)
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 82 of file ControlScope.h.

◆ WithComplianceResourceIds() [2/2]

ControlScope& Aws::Backup::Model::ControlScope::WithComplianceResourceIds ( const Aws::Vector< Aws::String > &  value)
inline

The ID of the only Amazon Web Services resource that you want your control scope to contain.

Definition at line 76 of file ControlScope.h.

◆ WithComplianceResourceTypes() [1/2]

ControlScope& Aws::Backup::Model::ControlScope::WithComplianceResourceTypes ( Aws::Vector< Aws::String > &&  value)
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 137 of file ControlScope.h.

◆ WithComplianceResourceTypes() [2/2]

ControlScope& Aws::Backup::Model::ControlScope::WithComplianceResourceTypes ( const Aws::Vector< Aws::String > &  value)
inline

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Definition at line 131 of file ControlScope.h.

◆ WithTags() [1/2]

ControlScope& Aws::Backup::Model::ControlScope::WithTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 192 of file ControlScope.h.

◆ WithTags() [2/2]

ControlScope& Aws::Backup::Model::ControlScope::WithTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.

Definition at line 186 of file ControlScope.h.


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