AWS SDK for C++  1.8.75
AWS SDK for C++
Public Member Functions | List of all members
Aws::DLM::Model::PolicyDetails Class Reference

#include <PolicyDetails.h>

Public Member Functions

 PolicyDetails ()
 
 PolicyDetails (Aws::Utils::Json::JsonView jsonValue)
 
PolicyDetailsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const PolicyTypeValuesGetPolicyType () const
 
bool PolicyTypeHasBeenSet () const
 
void SetPolicyType (const PolicyTypeValues &value)
 
void SetPolicyType (PolicyTypeValues &&value)
 
PolicyDetailsWithPolicyType (const PolicyTypeValues &value)
 
PolicyDetailsWithPolicyType (PolicyTypeValues &&value)
 
const Aws::Vector< ResourceTypeValues > & GetResourceTypes () const
 
bool ResourceTypesHasBeenSet () const
 
void SetResourceTypes (const Aws::Vector< ResourceTypeValues > &value)
 
void SetResourceTypes (Aws::Vector< ResourceTypeValues > &&value)
 
PolicyDetailsWithResourceTypes (const Aws::Vector< ResourceTypeValues > &value)
 
PolicyDetailsWithResourceTypes (Aws::Vector< ResourceTypeValues > &&value)
 
PolicyDetailsAddResourceTypes (const ResourceTypeValues &value)
 
PolicyDetailsAddResourceTypes (ResourceTypeValues &&value)
 
const Aws::Vector< Tag > & GetTargetTags () const
 
bool TargetTagsHasBeenSet () const
 
void SetTargetTags (const Aws::Vector< Tag > &value)
 
void SetTargetTags (Aws::Vector< Tag > &&value)
 
PolicyDetailsWithTargetTags (const Aws::Vector< Tag > &value)
 
PolicyDetailsWithTargetTags (Aws::Vector< Tag > &&value)
 
PolicyDetailsAddTargetTags (const Tag &value)
 
PolicyDetailsAddTargetTags (Tag &&value)
 
const Aws::Vector< Schedule > & GetSchedules () const
 
bool SchedulesHasBeenSet () const
 
void SetSchedules (const Aws::Vector< Schedule > &value)
 
void SetSchedules (Aws::Vector< Schedule > &&value)
 
PolicyDetailsWithSchedules (const Aws::Vector< Schedule > &value)
 
PolicyDetailsWithSchedules (Aws::Vector< Schedule > &&value)
 
PolicyDetailsAddSchedules (const Schedule &value)
 
PolicyDetailsAddSchedules (Schedule &&value)
 
const ParametersGetParameters () const
 
bool ParametersHasBeenSet () const
 
void SetParameters (const Parameters &value)
 
void SetParameters (Parameters &&value)
 
PolicyDetailsWithParameters (const Parameters &value)
 
PolicyDetailsWithParameters (Parameters &&value)
 

Detailed Description

Specifies the configuration of a lifecycle policy.

See Also:

AWS API Reference

Definition at line 37 of file PolicyDetails.h.

Constructor & Destructor Documentation

◆ PolicyDetails() [1/2]

Aws::DLM::Model::PolicyDetails::PolicyDetails ( )

◆ PolicyDetails() [2/2]

Aws::DLM::Model::PolicyDetails::PolicyDetails ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddResourceTypes() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddResourceTypes ( const ResourceTypeValues value)
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 130 of file PolicyDetails.h.

◆ AddResourceTypes() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddResourceTypes ( ResourceTypeValues &&  value)
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 137 of file PolicyDetails.h.

◆ AddSchedules() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddSchedules ( const Schedule value)
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 221 of file PolicyDetails.h.

◆ AddSchedules() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddSchedules ( Schedule &&  value)
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 227 of file PolicyDetails.h.

◆ AddTargetTags() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddTargetTags ( const Tag value)
inline

The single tag that identifies targeted resources for this policy.

Definition at line 173 of file PolicyDetails.h.

◆ AddTargetTags() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::AddTargetTags ( Tag &&  value)
inline

The single tag that identifies targeted resources for this policy.

Definition at line 178 of file PolicyDetails.h.

◆ GetParameters()

const Parameters& Aws::DLM::Model::PolicyDetails::GetParameters ( ) const
inline

A set of optional parameters for the policy.

Definition at line 233 of file PolicyDetails.h.

◆ GetPolicyType()

const PolicyTypeValues& Aws::DLM::Model::PolicyDetails::GetPolicyType ( ) const
inline

The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.

Definition at line 50 of file PolicyDetails.h.

◆ GetResourceTypes()

const Aws::Vector<ResourceTypeValues>& Aws::DLM::Model::PolicyDetails::GetResourceTypes ( ) const
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 88 of file PolicyDetails.h.

◆ GetSchedules()

const Aws::Vector<Schedule>& Aws::DLM::Model::PolicyDetails::GetSchedules ( ) const
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 185 of file PolicyDetails.h.

◆ GetTargetTags()

const Aws::Vector<Tag>& Aws::DLM::Model::PolicyDetails::GetTargetTags ( ) const
inline

The single tag that identifies targeted resources for this policy.

Definition at line 143 of file PolicyDetails.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::DLM::Model::PolicyDetails::Jsonize ( ) const

◆ operator=()

PolicyDetails& Aws::DLM::Model::PolicyDetails::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ParametersHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::ParametersHasBeenSet ( ) const
inline

A set of optional parameters for the policy.

Definition at line 238 of file PolicyDetails.h.

◆ PolicyTypeHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::PolicyTypeHasBeenSet ( ) const
inline

The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.

Definition at line 56 of file PolicyDetails.h.

◆ ResourceTypesHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::ResourceTypesHasBeenSet ( ) const
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 95 of file PolicyDetails.h.

◆ SchedulesHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::SchedulesHasBeenSet ( ) const
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 191 of file PolicyDetails.h.

◆ SetParameters() [1/2]

void Aws::DLM::Model::PolicyDetails::SetParameters ( const Parameters value)
inline

A set of optional parameters for the policy.

Definition at line 243 of file PolicyDetails.h.

◆ SetParameters() [2/2]

void Aws::DLM::Model::PolicyDetails::SetParameters ( Parameters &&  value)
inline

A set of optional parameters for the policy.

Definition at line 248 of file PolicyDetails.h.

◆ SetPolicyType() [1/2]

void Aws::DLM::Model::PolicyDetails::SetPolicyType ( const PolicyTypeValues value)
inline

The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.

Definition at line 62 of file PolicyDetails.h.

◆ SetPolicyType() [2/2]

void Aws::DLM::Model::PolicyDetails::SetPolicyType ( PolicyTypeValues &&  value)
inline

The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.

Definition at line 68 of file PolicyDetails.h.

◆ SetResourceTypes() [1/2]

void Aws::DLM::Model::PolicyDetails::SetResourceTypes ( const Aws::Vector< ResourceTypeValues > &  value)
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 102 of file PolicyDetails.h.

◆ SetResourceTypes() [2/2]

void Aws::DLM::Model::PolicyDetails::SetResourceTypes ( Aws::Vector< ResourceTypeValues > &&  value)
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 109 of file PolicyDetails.h.

◆ SetSchedules() [1/2]

void Aws::DLM::Model::PolicyDetails::SetSchedules ( const Aws::Vector< Schedule > &  value)
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 197 of file PolicyDetails.h.

◆ SetSchedules() [2/2]

void Aws::DLM::Model::PolicyDetails::SetSchedules ( Aws::Vector< Schedule > &&  value)
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 203 of file PolicyDetails.h.

◆ SetTargetTags() [1/2]

void Aws::DLM::Model::PolicyDetails::SetTargetTags ( const Aws::Vector< Tag > &  value)
inline

The single tag that identifies targeted resources for this policy.

Definition at line 153 of file PolicyDetails.h.

◆ SetTargetTags() [2/2]

void Aws::DLM::Model::PolicyDetails::SetTargetTags ( Aws::Vector< Tag > &&  value)
inline

The single tag that identifies targeted resources for this policy.

Definition at line 158 of file PolicyDetails.h.

◆ TargetTagsHasBeenSet()

bool Aws::DLM::Model::PolicyDetails::TargetTagsHasBeenSet ( ) const
inline

The single tag that identifies targeted resources for this policy.

Definition at line 148 of file PolicyDetails.h.

◆ WithParameters() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithParameters ( const Parameters value)
inline

A set of optional parameters for the policy.

Definition at line 253 of file PolicyDetails.h.

◆ WithParameters() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithParameters ( Parameters &&  value)
inline

A set of optional parameters for the policy.

Definition at line 258 of file PolicyDetails.h.

◆ WithPolicyType() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithPolicyType ( const PolicyTypeValues value)
inline

The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.

Definition at line 74 of file PolicyDetails.h.

◆ WithPolicyType() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithPolicyType ( PolicyTypeValues &&  value)
inline

The valid target resource types and actions a policy can manage. The default is EBS_SNAPSHOT_MANAGEMENT.

Definition at line 80 of file PolicyDetails.h.

◆ WithResourceTypes() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithResourceTypes ( const Aws::Vector< ResourceTypeValues > &  value)
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 116 of file PolicyDetails.h.

◆ WithResourceTypes() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithResourceTypes ( Aws::Vector< ResourceTypeValues > &&  value)
inline

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Definition at line 123 of file PolicyDetails.h.

◆ WithSchedules() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithSchedules ( const Aws::Vector< Schedule > &  value)
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 209 of file PolicyDetails.h.

◆ WithSchedules() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithSchedules ( Aws::Vector< Schedule > &&  value)
inline

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Definition at line 215 of file PolicyDetails.h.

◆ WithTargetTags() [1/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithTargetTags ( const Aws::Vector< Tag > &  value)
inline

The single tag that identifies targeted resources for this policy.

Definition at line 163 of file PolicyDetails.h.

◆ WithTargetTags() [2/2]

PolicyDetails& Aws::DLM::Model::PolicyDetails::WithTargetTags ( Aws::Vector< Tag > &&  value)
inline

The single tag that identifies targeted resources for this policy.

Definition at line 168 of file PolicyDetails.h.


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