AWS SDK for C++  1.9.126
AWS SDK for C++
Public Member Functions | List of all members
Aws::RAM::Model::ResourceShareAssociation Class Reference

#include <ResourceShareAssociation.h>

Public Member Functions

 ResourceShareAssociation ()
 
 ResourceShareAssociation (Aws::Utils::Json::JsonView jsonValue)
 
ResourceShareAssociationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetResourceShareArn () const
 
bool ResourceShareArnHasBeenSet () const
 
void SetResourceShareArn (const Aws::String &value)
 
void SetResourceShareArn (Aws::String &&value)
 
void SetResourceShareArn (const char *value)
 
ResourceShareAssociationWithResourceShareArn (const Aws::String &value)
 
ResourceShareAssociationWithResourceShareArn (Aws::String &&value)
 
ResourceShareAssociationWithResourceShareArn (const char *value)
 
const Aws::StringGetResourceShareName () const
 
bool ResourceShareNameHasBeenSet () const
 
void SetResourceShareName (const Aws::String &value)
 
void SetResourceShareName (Aws::String &&value)
 
void SetResourceShareName (const char *value)
 
ResourceShareAssociationWithResourceShareName (const Aws::String &value)
 
ResourceShareAssociationWithResourceShareName (Aws::String &&value)
 
ResourceShareAssociationWithResourceShareName (const char *value)
 
const Aws::StringGetAssociatedEntity () const
 
bool AssociatedEntityHasBeenSet () const
 
void SetAssociatedEntity (const Aws::String &value)
 
void SetAssociatedEntity (Aws::String &&value)
 
void SetAssociatedEntity (const char *value)
 
ResourceShareAssociationWithAssociatedEntity (const Aws::String &value)
 
ResourceShareAssociationWithAssociatedEntity (Aws::String &&value)
 
ResourceShareAssociationWithAssociatedEntity (const char *value)
 
const ResourceShareAssociationTypeGetAssociationType () const
 
bool AssociationTypeHasBeenSet () const
 
void SetAssociationType (const ResourceShareAssociationType &value)
 
void SetAssociationType (ResourceShareAssociationType &&value)
 
ResourceShareAssociationWithAssociationType (const ResourceShareAssociationType &value)
 
ResourceShareAssociationWithAssociationType (ResourceShareAssociationType &&value)
 
const ResourceShareAssociationStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const ResourceShareAssociationStatus &value)
 
void SetStatus (ResourceShareAssociationStatus &&value)
 
ResourceShareAssociationWithStatus (const ResourceShareAssociationStatus &value)
 
ResourceShareAssociationWithStatus (ResourceShareAssociationStatus &&value)
 
const Aws::StringGetStatusMessage () const
 
bool StatusMessageHasBeenSet () const
 
void SetStatusMessage (const Aws::String &value)
 
void SetStatusMessage (Aws::String &&value)
 
void SetStatusMessage (const char *value)
 
ResourceShareAssociationWithStatusMessage (const Aws::String &value)
 
ResourceShareAssociationWithStatusMessage (Aws::String &&value)
 
ResourceShareAssociationWithStatusMessage (const char *value)
 
const Aws::Utils::DateTimeGetCreationTime () const
 
bool CreationTimeHasBeenSet () const
 
void SetCreationTime (const Aws::Utils::DateTime &value)
 
void SetCreationTime (Aws::Utils::DateTime &&value)
 
ResourceShareAssociationWithCreationTime (const Aws::Utils::DateTime &value)
 
ResourceShareAssociationWithCreationTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetLastUpdatedTime () const
 
bool LastUpdatedTimeHasBeenSet () const
 
void SetLastUpdatedTime (const Aws::Utils::DateTime &value)
 
void SetLastUpdatedTime (Aws::Utils::DateTime &&value)
 
ResourceShareAssociationWithLastUpdatedTime (const Aws::Utils::DateTime &value)
 
ResourceShareAssociationWithLastUpdatedTime (Aws::Utils::DateTime &&value)
 
bool GetExternal () const
 
bool ExternalHasBeenSet () const
 
void SetExternal (bool value)
 
ResourceShareAssociationWithExternal (bool value)
 

Detailed Description

Describes an association with a resource share.

See Also:

AWS API Reference

Definition at line 34 of file ResourceShareAssociation.h.

Constructor & Destructor Documentation

◆ ResourceShareAssociation() [1/2]

Aws::RAM::Model::ResourceShareAssociation::ResourceShareAssociation ( )

◆ ResourceShareAssociation() [2/2]

Aws::RAM::Model::ResourceShareAssociation::ResourceShareAssociation ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AssociatedEntityHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::AssociatedEntityHasBeenSet ( ) const
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 143 of file ResourceShareAssociation.h.

◆ AssociationTypeHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::AssociationTypeHasBeenSet ( ) const
inline

The association type.

Definition at line 214 of file ResourceShareAssociation.h.

◆ CreationTimeHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::CreationTimeHasBeenSet ( ) const
inline

The time when the association was created.

Definition at line 317 of file ResourceShareAssociation.h.

◆ ExternalHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::ExternalHasBeenSet ( ) const
inline

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

Definition at line 383 of file ResourceShareAssociation.h.

◆ GetAssociatedEntity()

const Aws::String& Aws::RAM::Model::ResourceShareAssociation::GetAssociatedEntity ( ) const
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 133 of file ResourceShareAssociation.h.

◆ GetAssociationType()

const ResourceShareAssociationType& Aws::RAM::Model::ResourceShareAssociation::GetAssociationType ( ) const
inline

The association type.

Definition at line 209 of file ResourceShareAssociation.h.

◆ GetCreationTime()

const Aws::Utils::DateTime& Aws::RAM::Model::ResourceShareAssociation::GetCreationTime ( ) const
inline

The time when the association was created.

Definition at line 312 of file ResourceShareAssociation.h.

◆ GetExternal()

bool Aws::RAM::Model::ResourceShareAssociation::GetExternal ( ) const
inline

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

Definition at line 376 of file ResourceShareAssociation.h.

◆ GetLastUpdatedTime()

const Aws::Utils::DateTime& Aws::RAM::Model::ResourceShareAssociation::GetLastUpdatedTime ( ) const
inline

The time when the association was last updated.

Definition at line 343 of file ResourceShareAssociation.h.

◆ GetResourceShareArn()

const Aws::String& Aws::RAM::Model::ResourceShareAssociation::GetResourceShareArn ( ) const
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 46 of file ResourceShareAssociation.h.

◆ GetResourceShareName()

const Aws::String& Aws::RAM::Model::ResourceShareAssociation::GetResourceShareName ( ) const
inline

The name of the resource share.

Definition at line 87 of file ResourceShareAssociation.h.

◆ GetStatus()

const ResourceShareAssociationStatus& Aws::RAM::Model::ResourceShareAssociation::GetStatus ( ) const
inline

The status of the association.

Definition at line 240 of file ResourceShareAssociation.h.

◆ GetStatusMessage()

const Aws::String& Aws::RAM::Model::ResourceShareAssociation::GetStatusMessage ( ) const
inline

A message about the status of the association.

Definition at line 271 of file ResourceShareAssociation.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::RAM::Model::ResourceShareAssociation::Jsonize ( ) const

◆ LastUpdatedTimeHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::LastUpdatedTimeHasBeenSet ( ) const
inline

The time when the association was last updated.

Definition at line 348 of file ResourceShareAssociation.h.

◆ operator=()

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ResourceShareArnHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::ResourceShareArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 51 of file ResourceShareAssociation.h.

◆ ResourceShareNameHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::ResourceShareNameHasBeenSet ( ) const
inline

The name of the resource share.

Definition at line 92 of file ResourceShareAssociation.h.

◆ SetAssociatedEntity() [1/3]

void Aws::RAM::Model::ResourceShareAssociation::SetAssociatedEntity ( Aws::String &&  value)
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 163 of file ResourceShareAssociation.h.

◆ SetAssociatedEntity() [2/3]

void Aws::RAM::Model::ResourceShareAssociation::SetAssociatedEntity ( const Aws::String value)
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 153 of file ResourceShareAssociation.h.

◆ SetAssociatedEntity() [3/3]

void Aws::RAM::Model::ResourceShareAssociation::SetAssociatedEntity ( const char *  value)
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 173 of file ResourceShareAssociation.h.

◆ SetAssociationType() [1/2]

void Aws::RAM::Model::ResourceShareAssociation::SetAssociationType ( const ResourceShareAssociationType value)
inline

The association type.

Definition at line 219 of file ResourceShareAssociation.h.

◆ SetAssociationType() [2/2]

void Aws::RAM::Model::ResourceShareAssociation::SetAssociationType ( ResourceShareAssociationType &&  value)
inline

The association type.

Definition at line 224 of file ResourceShareAssociation.h.

◆ SetCreationTime() [1/2]

void Aws::RAM::Model::ResourceShareAssociation::SetCreationTime ( Aws::Utils::DateTime &&  value)
inline

The time when the association was created.

Definition at line 327 of file ResourceShareAssociation.h.

◆ SetCreationTime() [2/2]

void Aws::RAM::Model::ResourceShareAssociation::SetCreationTime ( const Aws::Utils::DateTime value)
inline

The time when the association was created.

Definition at line 322 of file ResourceShareAssociation.h.

◆ SetExternal()

void Aws::RAM::Model::ResourceShareAssociation::SetExternal ( bool  value)
inline

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

Definition at line 390 of file ResourceShareAssociation.h.

◆ SetLastUpdatedTime() [1/2]

void Aws::RAM::Model::ResourceShareAssociation::SetLastUpdatedTime ( Aws::Utils::DateTime &&  value)
inline

The time when the association was last updated.

Definition at line 358 of file ResourceShareAssociation.h.

◆ SetLastUpdatedTime() [2/2]

void Aws::RAM::Model::ResourceShareAssociation::SetLastUpdatedTime ( const Aws::Utils::DateTime value)
inline

The time when the association was last updated.

Definition at line 353 of file ResourceShareAssociation.h.

◆ SetResourceShareArn() [1/3]

void Aws::RAM::Model::ResourceShareAssociation::SetResourceShareArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 61 of file ResourceShareAssociation.h.

◆ SetResourceShareArn() [2/3]

void Aws::RAM::Model::ResourceShareAssociation::SetResourceShareArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 56 of file ResourceShareAssociation.h.

◆ SetResourceShareArn() [3/3]

void Aws::RAM::Model::ResourceShareAssociation::SetResourceShareArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 66 of file ResourceShareAssociation.h.

◆ SetResourceShareName() [1/3]

void Aws::RAM::Model::ResourceShareAssociation::SetResourceShareName ( Aws::String &&  value)
inline

The name of the resource share.

Definition at line 102 of file ResourceShareAssociation.h.

◆ SetResourceShareName() [2/3]

void Aws::RAM::Model::ResourceShareAssociation::SetResourceShareName ( const Aws::String value)
inline

The name of the resource share.

Definition at line 97 of file ResourceShareAssociation.h.

◆ SetResourceShareName() [3/3]

void Aws::RAM::Model::ResourceShareAssociation::SetResourceShareName ( const char *  value)
inline

The name of the resource share.

Definition at line 107 of file ResourceShareAssociation.h.

◆ SetStatus() [1/2]

void Aws::RAM::Model::ResourceShareAssociation::SetStatus ( const ResourceShareAssociationStatus value)
inline

The status of the association.

Definition at line 250 of file ResourceShareAssociation.h.

◆ SetStatus() [2/2]

void Aws::RAM::Model::ResourceShareAssociation::SetStatus ( ResourceShareAssociationStatus &&  value)
inline

The status of the association.

Definition at line 255 of file ResourceShareAssociation.h.

◆ SetStatusMessage() [1/3]

void Aws::RAM::Model::ResourceShareAssociation::SetStatusMessage ( Aws::String &&  value)
inline

A message about the status of the association.

Definition at line 286 of file ResourceShareAssociation.h.

◆ SetStatusMessage() [2/3]

void Aws::RAM::Model::ResourceShareAssociation::SetStatusMessage ( const Aws::String value)
inline

A message about the status of the association.

Definition at line 281 of file ResourceShareAssociation.h.

◆ SetStatusMessage() [3/3]

void Aws::RAM::Model::ResourceShareAssociation::SetStatusMessage ( const char *  value)
inline

A message about the status of the association.

Definition at line 291 of file ResourceShareAssociation.h.

◆ StatusHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::StatusHasBeenSet ( ) const
inline

The status of the association.

Definition at line 245 of file ResourceShareAssociation.h.

◆ StatusMessageHasBeenSet()

bool Aws::RAM::Model::ResourceShareAssociation::StatusMessageHasBeenSet ( ) const
inline

A message about the status of the association.

Definition at line 276 of file ResourceShareAssociation.h.

◆ WithAssociatedEntity() [1/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithAssociatedEntity ( Aws::String &&  value)
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 193 of file ResourceShareAssociation.h.

◆ WithAssociatedEntity() [2/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithAssociatedEntity ( const Aws::String value)
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 183 of file ResourceShareAssociation.h.

◆ WithAssociatedEntity() [3/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithAssociatedEntity ( const char *  value)
inline

The associated entity. For resource associations, this is the Amazon Resource Name (ARN) of the resource. For principal associations, this is one of the following:

  • An Amazon Web Services account ID

  • An ARN of an organization in Organizations

  • An ARN of an organizational unit (OU) in Organizations

  • An ARN of an IAM role

  • An ARN of an IAM user

Definition at line 203 of file ResourceShareAssociation.h.

◆ WithAssociationType() [1/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithAssociationType ( const ResourceShareAssociationType value)
inline

The association type.

Definition at line 229 of file ResourceShareAssociation.h.

◆ WithAssociationType() [2/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithAssociationType ( ResourceShareAssociationType &&  value)
inline

The association type.

Definition at line 234 of file ResourceShareAssociation.h.

◆ WithCreationTime() [1/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithCreationTime ( Aws::Utils::DateTime &&  value)
inline

The time when the association was created.

Definition at line 337 of file ResourceShareAssociation.h.

◆ WithCreationTime() [2/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithCreationTime ( const Aws::Utils::DateTime value)
inline

The time when the association was created.

Definition at line 332 of file ResourceShareAssociation.h.

◆ WithExternal()

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithExternal ( bool  value)
inline

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

Definition at line 397 of file ResourceShareAssociation.h.

◆ WithLastUpdatedTime() [1/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithLastUpdatedTime ( Aws::Utils::DateTime &&  value)
inline

The time when the association was last updated.

Definition at line 368 of file ResourceShareAssociation.h.

◆ WithLastUpdatedTime() [2/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithLastUpdatedTime ( const Aws::Utils::DateTime value)
inline

The time when the association was last updated.

Definition at line 363 of file ResourceShareAssociation.h.

◆ WithResourceShareArn() [1/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithResourceShareArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 76 of file ResourceShareAssociation.h.

◆ WithResourceShareArn() [2/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithResourceShareArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 71 of file ResourceShareAssociation.h.

◆ WithResourceShareArn() [3/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithResourceShareArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the resource share.

Definition at line 81 of file ResourceShareAssociation.h.

◆ WithResourceShareName() [1/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithResourceShareName ( Aws::String &&  value)
inline

The name of the resource share.

Definition at line 117 of file ResourceShareAssociation.h.

◆ WithResourceShareName() [2/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithResourceShareName ( const Aws::String value)
inline

The name of the resource share.

Definition at line 112 of file ResourceShareAssociation.h.

◆ WithResourceShareName() [3/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithResourceShareName ( const char *  value)
inline

The name of the resource share.

Definition at line 122 of file ResourceShareAssociation.h.

◆ WithStatus() [1/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithStatus ( const ResourceShareAssociationStatus value)
inline

The status of the association.

Definition at line 260 of file ResourceShareAssociation.h.

◆ WithStatus() [2/2]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithStatus ( ResourceShareAssociationStatus &&  value)
inline

The status of the association.

Definition at line 265 of file ResourceShareAssociation.h.

◆ WithStatusMessage() [1/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithStatusMessage ( Aws::String &&  value)
inline

A message about the status of the association.

Definition at line 301 of file ResourceShareAssociation.h.

◆ WithStatusMessage() [2/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithStatusMessage ( const Aws::String value)
inline

A message about the status of the association.

Definition at line 296 of file ResourceShareAssociation.h.

◆ WithStatusMessage() [3/3]

ResourceShareAssociation& Aws::RAM::Model::ResourceShareAssociation::WithStatusMessage ( const char *  value)
inline

A message about the status of the association.

Definition at line 306 of file ResourceShareAssociation.h.


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