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

#include <InstanceProfile.h>

Public Member Functions

 InstanceProfile ()
 
 InstanceProfile (const Aws::Utils::Xml::XmlNode &xmlNode)
 
InstanceProfileoperator= (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::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
InstanceProfileWithPath (const Aws::String &value)
 
InstanceProfileWithPath (Aws::String &&value)
 
InstanceProfileWithPath (const char *value)
 
const Aws::StringGetInstanceProfileName () const
 
bool InstanceProfileNameHasBeenSet () const
 
void SetInstanceProfileName (const Aws::String &value)
 
void SetInstanceProfileName (Aws::String &&value)
 
void SetInstanceProfileName (const char *value)
 
InstanceProfileWithInstanceProfileName (const Aws::String &value)
 
InstanceProfileWithInstanceProfileName (Aws::String &&value)
 
InstanceProfileWithInstanceProfileName (const char *value)
 
const Aws::StringGetInstanceProfileId () const
 
bool InstanceProfileIdHasBeenSet () const
 
void SetInstanceProfileId (const Aws::String &value)
 
void SetInstanceProfileId (Aws::String &&value)
 
void SetInstanceProfileId (const char *value)
 
InstanceProfileWithInstanceProfileId (const Aws::String &value)
 
InstanceProfileWithInstanceProfileId (Aws::String &&value)
 
InstanceProfileWithInstanceProfileId (const char *value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
InstanceProfileWithArn (const Aws::String &value)
 
InstanceProfileWithArn (Aws::String &&value)
 
InstanceProfileWithArn (const char *value)
 
const Aws::Utils::DateTimeGetCreateDate () const
 
bool CreateDateHasBeenSet () const
 
void SetCreateDate (const Aws::Utils::DateTime &value)
 
void SetCreateDate (Aws::Utils::DateTime &&value)
 
InstanceProfileWithCreateDate (const Aws::Utils::DateTime &value)
 
InstanceProfileWithCreateDate (Aws::Utils::DateTime &&value)
 
const Aws::Vector< Role > & GetRoles () const
 
bool RolesHasBeenSet () const
 
void SetRoles (const Aws::Vector< Role > &value)
 
void SetRoles (Aws::Vector< Role > &&value)
 
InstanceProfileWithRoles (const Aws::Vector< Role > &value)
 
InstanceProfileWithRoles (Aws::Vector< Role > &&value)
 
InstanceProfileAddRoles (const Role &value)
 
InstanceProfileAddRoles (Role &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
InstanceProfileWithTags (const Aws::Vector< Tag > &value)
 
InstanceProfileWithTags (Aws::Vector< Tag > &&value)
 
InstanceProfileAddTags (const Tag &value)
 
InstanceProfileAddTags (Tag &&value)
 

Detailed Description

Contains information about an instance profile.

This data type is used as a response element in the following operations:

See Also:

AWS API Reference

Definition at line 39 of file InstanceProfile.h.

Constructor & Destructor Documentation

◆ InstanceProfile() [1/2]

Aws::IAM::Model::InstanceProfile::InstanceProfile ( )

◆ InstanceProfile() [2/2]

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

Member Function Documentation

◆ AddRoles() [1/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::AddRoles ( const Role value)
inline

The role associated with the instance profile.

Definition at line 342 of file InstanceProfile.h.

◆ AddRoles() [2/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::AddRoles ( Role &&  value)
inline

The role associated with the instance profile.

Definition at line 347 of file InstanceProfile.h.

◆ AddTags() [1/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::AddTags ( const Tag value)
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 404 of file InstanceProfile.h.

◆ AddTags() [2/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::AddTags ( Tag &&  value)
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 412 of file InstanceProfile.h.

◆ ArnHasBeenSet()

bool Aws::IAM::Model::InstanceProfile::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 227 of file InstanceProfile.h.

◆ CreateDateHasBeenSet()

bool Aws::IAM::Model::InstanceProfile::CreateDateHasBeenSet ( ) const
inline

The date when the instance profile was created.

Definition at line 286 of file InstanceProfile.h.

◆ GetArn()

const Aws::String& Aws::IAM::Model::InstanceProfile::GetArn ( ) const
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 219 of file InstanceProfile.h.

◆ GetCreateDate()

const Aws::Utils::DateTime& Aws::IAM::Model::InstanceProfile::GetCreateDate ( ) const
inline

The date when the instance profile was created.

Definition at line 281 of file InstanceProfile.h.

◆ GetInstanceProfileId()

const Aws::String& Aws::IAM::Model::InstanceProfile::GetInstanceProfileId ( ) const
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 154 of file InstanceProfile.h.

◆ GetInstanceProfileName()

const Aws::String& Aws::IAM::Model::InstanceProfile::GetInstanceProfileName ( ) const
inline

The name identifying the instance profile.

Definition at line 110 of file InstanceProfile.h.

◆ GetPath()

const Aws::String& Aws::IAM::Model::InstanceProfile::GetPath ( ) const
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 55 of file InstanceProfile.h.

◆ GetRoles()

const Aws::Vector<Role>& Aws::IAM::Model::InstanceProfile::GetRoles ( ) const
inline

The role associated with the instance profile.

Definition at line 312 of file InstanceProfile.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::IAM::Model::InstanceProfile::GetTags ( ) const
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 356 of file InstanceProfile.h.

◆ InstanceProfileIdHasBeenSet()

bool Aws::IAM::Model::InstanceProfile::InstanceProfileIdHasBeenSet ( ) const
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 162 of file InstanceProfile.h.

◆ InstanceProfileNameHasBeenSet()

bool Aws::IAM::Model::InstanceProfile::InstanceProfileNameHasBeenSet ( ) const
inline

The name identifying the instance profile.

Definition at line 115 of file InstanceProfile.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PathHasBeenSet()

bool Aws::IAM::Model::InstanceProfile::PathHasBeenSet ( ) const
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 62 of file InstanceProfile.h.

◆ RolesHasBeenSet()

bool Aws::IAM::Model::InstanceProfile::RolesHasBeenSet ( ) const
inline

The role associated with the instance profile.

Definition at line 317 of file InstanceProfile.h.

◆ SetArn() [1/3]

void Aws::IAM::Model::InstanceProfile::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 243 of file InstanceProfile.h.

◆ SetArn() [2/3]

void Aws::IAM::Model::InstanceProfile::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 235 of file InstanceProfile.h.

◆ SetArn() [3/3]

void Aws::IAM::Model::InstanceProfile::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 251 of file InstanceProfile.h.

◆ SetCreateDate() [1/2]

void Aws::IAM::Model::InstanceProfile::SetCreateDate ( Aws::Utils::DateTime &&  value)
inline

The date when the instance profile was created.

Definition at line 296 of file InstanceProfile.h.

◆ SetCreateDate() [2/2]

void Aws::IAM::Model::InstanceProfile::SetCreateDate ( const Aws::Utils::DateTime value)
inline

The date when the instance profile was created.

Definition at line 291 of file InstanceProfile.h.

◆ SetInstanceProfileId() [1/3]

void Aws::IAM::Model::InstanceProfile::SetInstanceProfileId ( Aws::String &&  value)
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 178 of file InstanceProfile.h.

◆ SetInstanceProfileId() [2/3]

void Aws::IAM::Model::InstanceProfile::SetInstanceProfileId ( const Aws::String value)
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 170 of file InstanceProfile.h.

◆ SetInstanceProfileId() [3/3]

void Aws::IAM::Model::InstanceProfile::SetInstanceProfileId ( const char *  value)
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 186 of file InstanceProfile.h.

◆ SetInstanceProfileName() [1/3]

void Aws::IAM::Model::InstanceProfile::SetInstanceProfileName ( Aws::String &&  value)
inline

The name identifying the instance profile.

Definition at line 125 of file InstanceProfile.h.

◆ SetInstanceProfileName() [2/3]

void Aws::IAM::Model::InstanceProfile::SetInstanceProfileName ( const Aws::String value)
inline

The name identifying the instance profile.

Definition at line 120 of file InstanceProfile.h.

◆ SetInstanceProfileName() [3/3]

void Aws::IAM::Model::InstanceProfile::SetInstanceProfileName ( const char *  value)
inline

The name identifying the instance profile.

Definition at line 130 of file InstanceProfile.h.

◆ SetPath() [1/3]

void Aws::IAM::Model::InstanceProfile::SetPath ( Aws::String &&  value)
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 76 of file InstanceProfile.h.

◆ SetPath() [2/3]

void Aws::IAM::Model::InstanceProfile::SetPath ( const Aws::String value)
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 69 of file InstanceProfile.h.

◆ SetPath() [3/3]

void Aws::IAM::Model::InstanceProfile::SetPath ( const char *  value)
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 83 of file InstanceProfile.h.

◆ SetRoles() [1/2]

void Aws::IAM::Model::InstanceProfile::SetRoles ( Aws::Vector< Role > &&  value)
inline

The role associated with the instance profile.

Definition at line 327 of file InstanceProfile.h.

◆ SetRoles() [2/2]

void Aws::IAM::Model::InstanceProfile::SetRoles ( const Aws::Vector< Role > &  value)
inline

The role associated with the instance profile.

Definition at line 322 of file InstanceProfile.h.

◆ SetTags() [1/2]

void Aws::IAM::Model::InstanceProfile::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 380 of file InstanceProfile.h.

◆ SetTags() [2/2]

void Aws::IAM::Model::InstanceProfile::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 372 of file InstanceProfile.h.

◆ TagsHasBeenSet()

bool Aws::IAM::Model::InstanceProfile::TagsHasBeenSet ( ) const
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 364 of file InstanceProfile.h.

◆ WithArn() [1/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 267 of file InstanceProfile.h.

◆ WithArn() [2/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 259 of file InstanceProfile.h.

◆ WithArn() [3/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

Definition at line 275 of file InstanceProfile.h.

◆ WithCreateDate() [1/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithCreateDate ( Aws::Utils::DateTime &&  value)
inline

The date when the instance profile was created.

Definition at line 306 of file InstanceProfile.h.

◆ WithCreateDate() [2/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithCreateDate ( const Aws::Utils::DateTime value)
inline

The date when the instance profile was created.

Definition at line 301 of file InstanceProfile.h.

◆ WithInstanceProfileId() [1/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithInstanceProfileId ( Aws::String &&  value)
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 202 of file InstanceProfile.h.

◆ WithInstanceProfileId() [2/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithInstanceProfileId ( const Aws::String value)
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 194 of file InstanceProfile.h.

◆ WithInstanceProfileId() [3/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithInstanceProfileId ( const char *  value)
inline

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

Definition at line 210 of file InstanceProfile.h.

◆ WithInstanceProfileName() [1/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithInstanceProfileName ( Aws::String &&  value)
inline

The name identifying the instance profile.

Definition at line 140 of file InstanceProfile.h.

◆ WithInstanceProfileName() [2/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithInstanceProfileName ( const Aws::String value)
inline

The name identifying the instance profile.

Definition at line 135 of file InstanceProfile.h.

◆ WithInstanceProfileName() [3/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithInstanceProfileName ( const char *  value)
inline

The name identifying the instance profile.

Definition at line 145 of file InstanceProfile.h.

◆ WithPath() [1/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithPath ( Aws::String &&  value)
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 97 of file InstanceProfile.h.

◆ WithPath() [2/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithPath ( const Aws::String value)
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 90 of file InstanceProfile.h.

◆ WithPath() [3/3]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithPath ( const char *  value)
inline

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

Definition at line 104 of file InstanceProfile.h.

◆ WithRoles() [1/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithRoles ( Aws::Vector< Role > &&  value)
inline

The role associated with the instance profile.

Definition at line 337 of file InstanceProfile.h.

◆ WithRoles() [2/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithRoles ( const Aws::Vector< Role > &  value)
inline

The role associated with the instance profile.

Definition at line 332 of file InstanceProfile.h.

◆ WithTags() [1/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 396 of file InstanceProfile.h.

◆ WithTags() [2/2]

InstanceProfile& Aws::IAM::Model::InstanceProfile::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Definition at line 388 of file InstanceProfile.h.


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