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

#include <RoleUsageType.h>

Public Member Functions

 RoleUsageType ()
 
 RoleUsageType (const Aws::Utils::Xml::XmlNode &xmlNode)
 
RoleUsageTypeoperator= (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::StringGetRegion () const
 
bool RegionHasBeenSet () const
 
void SetRegion (const Aws::String &value)
 
void SetRegion (Aws::String &&value)
 
void SetRegion (const char *value)
 
RoleUsageTypeWithRegion (const Aws::String &value)
 
RoleUsageTypeWithRegion (Aws::String &&value)
 
RoleUsageTypeWithRegion (const char *value)
 
const Aws::Vector< Aws::String > & GetResources () const
 
bool ResourcesHasBeenSet () const
 
void SetResources (const Aws::Vector< Aws::String > &value)
 
void SetResources (Aws::Vector< Aws::String > &&value)
 
RoleUsageTypeWithResources (const Aws::Vector< Aws::String > &value)
 
RoleUsageTypeWithResources (Aws::Vector< Aws::String > &&value)
 
RoleUsageTypeAddResources (const Aws::String &value)
 
RoleUsageTypeAddResources (Aws::String &&value)
 
RoleUsageTypeAddResources (const char *value)
 

Detailed Description

An object that contains details about how a service-linked role is used, if that information is returned by the service.

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

See Also:

AWS API Reference

Definition at line 35 of file RoleUsageType.h.

Constructor & Destructor Documentation

◆ RoleUsageType() [1/2]

Aws::IAM::Model::RoleUsageType::RoleUsageType ( )

◆ RoleUsageType() [2/2]

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

Member Function Documentation

◆ AddResources() [1/3]

RoleUsageType& Aws::IAM::Model::RoleUsageType::AddResources ( const Aws::String value)
inline

The name of the resource that is using the service-linked role.

Definition at line 120 of file RoleUsageType.h.

◆ AddResources() [2/3]

RoleUsageType& Aws::IAM::Model::RoleUsageType::AddResources ( Aws::String &&  value)
inline

The name of the resource that is using the service-linked role.

Definition at line 125 of file RoleUsageType.h.

◆ AddResources() [3/3]

RoleUsageType& Aws::IAM::Model::RoleUsageType::AddResources ( const char *  value)
inline

The name of the resource that is using the service-linked role.

Definition at line 130 of file RoleUsageType.h.

◆ GetRegion()

const Aws::String& Aws::IAM::Model::RoleUsageType::GetRegion ( ) const
inline

The name of the Region where the service-linked role is being used.

Definition at line 49 of file RoleUsageType.h.

◆ GetResources()

const Aws::Vector<Aws::String>& Aws::IAM::Model::RoleUsageType::GetResources ( ) const
inline

The name of the resource that is using the service-linked role.

Definition at line 90 of file RoleUsageType.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ RegionHasBeenSet()

bool Aws::IAM::Model::RoleUsageType::RegionHasBeenSet ( ) const
inline

The name of the Region where the service-linked role is being used.

Definition at line 54 of file RoleUsageType.h.

◆ ResourcesHasBeenSet()

bool Aws::IAM::Model::RoleUsageType::ResourcesHasBeenSet ( ) const
inline

The name of the resource that is using the service-linked role.

Definition at line 95 of file RoleUsageType.h.

◆ SetRegion() [1/3]

void Aws::IAM::Model::RoleUsageType::SetRegion ( const Aws::String value)
inline

The name of the Region where the service-linked role is being used.

Definition at line 59 of file RoleUsageType.h.

◆ SetRegion() [2/3]

void Aws::IAM::Model::RoleUsageType::SetRegion ( Aws::String &&  value)
inline

The name of the Region where the service-linked role is being used.

Definition at line 64 of file RoleUsageType.h.

◆ SetRegion() [3/3]

void Aws::IAM::Model::RoleUsageType::SetRegion ( const char *  value)
inline

The name of the Region where the service-linked role is being used.

Definition at line 69 of file RoleUsageType.h.

◆ SetResources() [1/2]

void Aws::IAM::Model::RoleUsageType::SetResources ( const Aws::Vector< Aws::String > &  value)
inline

The name of the resource that is using the service-linked role.

Definition at line 100 of file RoleUsageType.h.

◆ SetResources() [2/2]

void Aws::IAM::Model::RoleUsageType::SetResources ( Aws::Vector< Aws::String > &&  value)
inline

The name of the resource that is using the service-linked role.

Definition at line 105 of file RoleUsageType.h.

◆ WithRegion() [1/3]

RoleUsageType& Aws::IAM::Model::RoleUsageType::WithRegion ( const Aws::String value)
inline

The name of the Region where the service-linked role is being used.

Definition at line 74 of file RoleUsageType.h.

◆ WithRegion() [2/3]

RoleUsageType& Aws::IAM::Model::RoleUsageType::WithRegion ( Aws::String &&  value)
inline

The name of the Region where the service-linked role is being used.

Definition at line 79 of file RoleUsageType.h.

◆ WithRegion() [3/3]

RoleUsageType& Aws::IAM::Model::RoleUsageType::WithRegion ( const char *  value)
inline

The name of the Region where the service-linked role is being used.

Definition at line 84 of file RoleUsageType.h.

◆ WithResources() [1/2]

RoleUsageType& Aws::IAM::Model::RoleUsageType::WithResources ( const Aws::Vector< Aws::String > &  value)
inline

The name of the resource that is using the service-linked role.

Definition at line 110 of file RoleUsageType.h.

◆ WithResources() [2/2]

RoleUsageType& Aws::IAM::Model::RoleUsageType::WithResources ( Aws::Vector< Aws::String > &&  value)
inline

The name of the resource that is using the service-linked role.

Definition at line 115 of file RoleUsageType.h.


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