AWS SDK for C++  1.8.26
AWS SDK for C++
Public Member Functions | List of all members
Aws::IAM::Model::DeletionTaskFailureReasonType Class Reference

#include <DeletionTaskFailureReasonType.h>

Public Member Functions

 DeletionTaskFailureReasonType ()
 
 DeletionTaskFailureReasonType (const Aws::Utils::Xml::XmlNode &xmlNode)
 
DeletionTaskFailureReasonTypeoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetReason () const
 
bool ReasonHasBeenSet () const
 
void SetReason (const Aws::String &value)
 
void SetReason (Aws::String &&value)
 
void SetReason (const char *value)
 
DeletionTaskFailureReasonTypeWithReason (const Aws::String &value)
 
DeletionTaskFailureReasonTypeWithReason (Aws::String &&value)
 
DeletionTaskFailureReasonTypeWithReason (const char *value)
 
const Aws::Vector< RoleUsageType > & GetRoleUsageList () const
 
bool RoleUsageListHasBeenSet () const
 
void SetRoleUsageList (const Aws::Vector< RoleUsageType > &value)
 
void SetRoleUsageList (Aws::Vector< RoleUsageType > &&value)
 
DeletionTaskFailureReasonTypeWithRoleUsageList (const Aws::Vector< RoleUsageType > &value)
 
DeletionTaskFailureReasonTypeWithRoleUsageList (Aws::Vector< RoleUsageType > &&value)
 
DeletionTaskFailureReasonTypeAddRoleUsageList (const RoleUsageType &value)
 
DeletionTaskFailureReasonTypeAddRoleUsageList (RoleUsageType &&value)
 

Detailed Description

The reason that the service-linked role deletion failed.

This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.

See Also:

AWS API Reference

Definition at line 36 of file DeletionTaskFailureReasonType.h.

Constructor & Destructor Documentation

◆ DeletionTaskFailureReasonType() [1/2]

Aws::IAM::Model::DeletionTaskFailureReasonType::DeletionTaskFailureReasonType ( )

◆ DeletionTaskFailureReasonType() [2/2]

Aws::IAM::Model::DeletionTaskFailureReasonType::DeletionTaskFailureReasonType ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddRoleUsageList() [1/2]

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::AddRoleUsageList ( const RoleUsageType value)
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 164 of file DeletionTaskFailureReasonType.h.

◆ AddRoleUsageList() [2/2]

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::AddRoleUsageList ( RoleUsageType &&  value)
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 174 of file DeletionTaskFailureReasonType.h.

◆ GetReason()

const Aws::String& Aws::IAM::Model::DeletionTaskFailureReasonType::GetReason ( ) const
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 51 of file DeletionTaskFailureReasonType.h.

◆ GetRoleUsageList()

const Aws::Vector<RoleUsageType>& Aws::IAM::Model::DeletionTaskFailureReasonType::GetRoleUsageList ( ) const
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 104 of file DeletionTaskFailureReasonType.h.

◆ operator=()

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::IAM::Model::DeletionTaskFailureReasonType::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ OutputToStream() [2/2]

void Aws::IAM::Model::DeletionTaskFailureReasonType::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ ReasonHasBeenSet()

bool Aws::IAM::Model::DeletionTaskFailureReasonType::ReasonHasBeenSet ( ) const
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 57 of file DeletionTaskFailureReasonType.h.

◆ RoleUsageListHasBeenSet()

bool Aws::IAM::Model::DeletionTaskFailureReasonType::RoleUsageListHasBeenSet ( ) const
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 114 of file DeletionTaskFailureReasonType.h.

◆ SetReason() [1/3]

void Aws::IAM::Model::DeletionTaskFailureReasonType::SetReason ( const Aws::String value)
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 63 of file DeletionTaskFailureReasonType.h.

◆ SetReason() [2/3]

void Aws::IAM::Model::DeletionTaskFailureReasonType::SetReason ( Aws::String &&  value)
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 69 of file DeletionTaskFailureReasonType.h.

◆ SetReason() [3/3]

void Aws::IAM::Model::DeletionTaskFailureReasonType::SetReason ( const char *  value)
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 75 of file DeletionTaskFailureReasonType.h.

◆ SetRoleUsageList() [1/2]

void Aws::IAM::Model::DeletionTaskFailureReasonType::SetRoleUsageList ( const Aws::Vector< RoleUsageType > &  value)
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 124 of file DeletionTaskFailureReasonType.h.

◆ SetRoleUsageList() [2/2]

void Aws::IAM::Model::DeletionTaskFailureReasonType::SetRoleUsageList ( Aws::Vector< RoleUsageType > &&  value)
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 134 of file DeletionTaskFailureReasonType.h.

◆ WithReason() [1/3]

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::WithReason ( const Aws::String value)
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 81 of file DeletionTaskFailureReasonType.h.

◆ WithReason() [2/3]

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::WithReason ( Aws::String &&  value)
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 87 of file DeletionTaskFailureReasonType.h.

◆ WithReason() [3/3]

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::WithReason ( const char *  value)
inline

A short description of the reason that the service-linked role deletion failed.

Definition at line 93 of file DeletionTaskFailureReasonType.h.

◆ WithRoleUsageList() [1/2]

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::WithRoleUsageList ( const Aws::Vector< RoleUsageType > &  value)
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 144 of file DeletionTaskFailureReasonType.h.

◆ WithRoleUsageList() [2/2]

DeletionTaskFailureReasonType& Aws::IAM::Model::DeletionTaskFailureReasonType::WithRoleUsageList ( Aws::Vector< RoleUsageType > &&  value)
inline

A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

Definition at line 154 of file DeletionTaskFailureReasonType.h.


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