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

#include <ResourceShare.h>

Public Member Functions

 ResourceShare ()
 
 ResourceShare (Aws::Utils::Json::JsonView jsonValue)
 
ResourceShareoperator= (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)
 
ResourceShareWithResourceShareArn (const Aws::String &value)
 
ResourceShareWithResourceShareArn (Aws::String &&value)
 
ResourceShareWithResourceShareArn (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
ResourceShareWithName (const Aws::String &value)
 
ResourceShareWithName (Aws::String &&value)
 
ResourceShareWithName (const char *value)
 
const Aws::StringGetOwningAccountId () const
 
bool OwningAccountIdHasBeenSet () const
 
void SetOwningAccountId (const Aws::String &value)
 
void SetOwningAccountId (Aws::String &&value)
 
void SetOwningAccountId (const char *value)
 
ResourceShareWithOwningAccountId (const Aws::String &value)
 
ResourceShareWithOwningAccountId (Aws::String &&value)
 
ResourceShareWithOwningAccountId (const char *value)
 
bool GetAllowExternalPrincipals () const
 
bool AllowExternalPrincipalsHasBeenSet () const
 
void SetAllowExternalPrincipals (bool value)
 
ResourceShareWithAllowExternalPrincipals (bool value)
 
const ResourceShareStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const ResourceShareStatus &value)
 
void SetStatus (ResourceShareStatus &&value)
 
ResourceShareWithStatus (const ResourceShareStatus &value)
 
ResourceShareWithStatus (ResourceShareStatus &&value)
 
const Aws::StringGetStatusMessage () const
 
bool StatusMessageHasBeenSet () const
 
void SetStatusMessage (const Aws::String &value)
 
void SetStatusMessage (Aws::String &&value)
 
void SetStatusMessage (const char *value)
 
ResourceShareWithStatusMessage (const Aws::String &value)
 
ResourceShareWithStatusMessage (Aws::String &&value)
 
ResourceShareWithStatusMessage (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
ResourceShareWithTags (const Aws::Vector< Tag > &value)
 
ResourceShareWithTags (Aws::Vector< Tag > &&value)
 
ResourceShareAddTags (const Tag &value)
 
ResourceShareAddTags (Tag &&value)
 
const Aws::Utils::DateTimeGetCreationTime () const
 
bool CreationTimeHasBeenSet () const
 
void SetCreationTime (const Aws::Utils::DateTime &value)
 
void SetCreationTime (Aws::Utils::DateTime &&value)
 
ResourceShareWithCreationTime (const Aws::Utils::DateTime &value)
 
ResourceShareWithCreationTime (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)
 
ResourceShareWithLastUpdatedTime (const Aws::Utils::DateTime &value)
 
ResourceShareWithLastUpdatedTime (Aws::Utils::DateTime &&value)
 
const ResourceShareFeatureSetGetFeatureSet () const
 
bool FeatureSetHasBeenSet () const
 
void SetFeatureSet (const ResourceShareFeatureSet &value)
 
void SetFeatureSet (ResourceShareFeatureSet &&value)
 
ResourceShareWithFeatureSet (const ResourceShareFeatureSet &value)
 
ResourceShareWithFeatureSet (ResourceShareFeatureSet &&value)
 

Detailed Description

Describes a resource share.

See Also:

AWS API Reference

Definition at line 36 of file ResourceShare.h.

Constructor & Destructor Documentation

◆ ResourceShare() [1/2]

Aws::RAM::Model::ResourceShare::ResourceShare ( )

◆ ResourceShare() [2/2]

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

Member Function Documentation

◆ AddTags() [1/2]

ResourceShare& Aws::RAM::Model::ResourceShare::AddTags ( const Tag value)
inline

The tags for the resource share.

Definition at line 298 of file ResourceShare.h.

◆ AddTags() [2/2]

ResourceShare& Aws::RAM::Model::ResourceShare::AddTags ( Tag &&  value)
inline

The tags for the resource share.

Definition at line 303 of file ResourceShare.h.

◆ AllowExternalPrincipalsHasBeenSet()

bool Aws::RAM::Model::ResourceShare::AllowExternalPrincipalsHasBeenSet ( ) const
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 178 of file ResourceShare.h.

◆ CreationTimeHasBeenSet()

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

The time when the resource share was created.

Definition at line 314 of file ResourceShare.h.

◆ FeatureSetHasBeenSet()

bool Aws::RAM::Model::ResourceShare::FeatureSetHasBeenSet ( ) const
inline

Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource. These resource shares are visible only to the Amazon Web Services account that created it. They cannot be modified in RAM.

  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.

  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals. They can be modified in RAM.

Definition at line 396 of file ResourceShare.h.

◆ GetAllowExternalPrincipals()

bool Aws::RAM::Model::ResourceShare::GetAllowExternalPrincipals ( ) const
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 172 of file ResourceShare.h.

◆ GetCreationTime()

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

The time when the resource share was created.

Definition at line 309 of file ResourceShare.h.

◆ GetFeatureSet()

const ResourceShareFeatureSet& Aws::RAM::Model::ResourceShare::GetFeatureSet ( ) const
inline

Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource. These resource shares are visible only to the Amazon Web Services account that created it. They cannot be modified in RAM.

  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.

  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals. They can be modified in RAM.

Definition at line 381 of file ResourceShare.h.

◆ GetLastUpdatedTime()

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

The time when the resource share was last updated.

Definition at line 340 of file ResourceShare.h.

◆ GetName()

const Aws::String& Aws::RAM::Model::ResourceShare::GetName ( ) const
inline

The name of the resource share.

Definition at line 89 of file ResourceShare.h.

◆ GetOwningAccountId()

const Aws::String& Aws::RAM::Model::ResourceShare::GetOwningAccountId ( ) const
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 130 of file ResourceShare.h.

◆ GetResourceShareArn()

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

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

Definition at line 48 of file ResourceShare.h.

◆ GetStatus()

const ResourceShareStatus& Aws::RAM::Model::ResourceShare::GetStatus ( ) const
inline

The status of the resource share.

Definition at line 196 of file ResourceShare.h.

◆ GetStatusMessage()

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

A message about the status of the resource share.

Definition at line 227 of file ResourceShare.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::RAM::Model::ResourceShare::GetTags ( ) const
inline

The tags for the resource share.

Definition at line 268 of file ResourceShare.h.

◆ Jsonize()

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

◆ LastUpdatedTimeHasBeenSet()

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

The time when the resource share was last updated.

Definition at line 345 of file ResourceShare.h.

◆ NameHasBeenSet()

bool Aws::RAM::Model::ResourceShare::NameHasBeenSet ( ) const
inline

The name of the resource share.

Definition at line 94 of file ResourceShare.h.

◆ operator=()

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

◆ OwningAccountIdHasBeenSet()

bool Aws::RAM::Model::ResourceShare::OwningAccountIdHasBeenSet ( ) const
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 135 of file ResourceShare.h.

◆ ResourceShareArnHasBeenSet()

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

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

Definition at line 53 of file ResourceShare.h.

◆ SetAllowExternalPrincipals()

void Aws::RAM::Model::ResourceShare::SetAllowExternalPrincipals ( bool  value)
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 184 of file ResourceShare.h.

◆ SetCreationTime() [1/2]

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

The time when the resource share was created.

Definition at line 324 of file ResourceShare.h.

◆ SetCreationTime() [2/2]

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

The time when the resource share was created.

Definition at line 319 of file ResourceShare.h.

◆ SetFeatureSet() [1/2]

void Aws::RAM::Model::ResourceShare::SetFeatureSet ( const ResourceShareFeatureSet value)
inline

Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource. These resource shares are visible only to the Amazon Web Services account that created it. They cannot be modified in RAM.

  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.

  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals. They can be modified in RAM.

Definition at line 411 of file ResourceShare.h.

◆ SetFeatureSet() [2/2]

void Aws::RAM::Model::ResourceShare::SetFeatureSet ( ResourceShareFeatureSet &&  value)
inline

Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource. These resource shares are visible only to the Amazon Web Services account that created it. They cannot be modified in RAM.

  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.

  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals. They can be modified in RAM.

Definition at line 426 of file ResourceShare.h.

◆ SetLastUpdatedTime() [1/2]

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

The time when the resource share was last updated.

Definition at line 355 of file ResourceShare.h.

◆ SetLastUpdatedTime() [2/2]

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

The time when the resource share was last updated.

Definition at line 350 of file ResourceShare.h.

◆ SetName() [1/3]

void Aws::RAM::Model::ResourceShare::SetName ( Aws::String &&  value)
inline

The name of the resource share.

Definition at line 104 of file ResourceShare.h.

◆ SetName() [2/3]

void Aws::RAM::Model::ResourceShare::SetName ( const Aws::String value)
inline

The name of the resource share.

Definition at line 99 of file ResourceShare.h.

◆ SetName() [3/3]

void Aws::RAM::Model::ResourceShare::SetName ( const char *  value)
inline

The name of the resource share.

Definition at line 109 of file ResourceShare.h.

◆ SetOwningAccountId() [1/3]

void Aws::RAM::Model::ResourceShare::SetOwningAccountId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 145 of file ResourceShare.h.

◆ SetOwningAccountId() [2/3]

void Aws::RAM::Model::ResourceShare::SetOwningAccountId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 140 of file ResourceShare.h.

◆ SetOwningAccountId() [3/3]

void Aws::RAM::Model::ResourceShare::SetOwningAccountId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 150 of file ResourceShare.h.

◆ SetResourceShareArn() [1/3]

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

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

Definition at line 63 of file ResourceShare.h.

◆ SetResourceShareArn() [2/3]

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

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

Definition at line 58 of file ResourceShare.h.

◆ SetResourceShareArn() [3/3]

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

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

Definition at line 68 of file ResourceShare.h.

◆ SetStatus() [1/2]

void Aws::RAM::Model::ResourceShare::SetStatus ( const ResourceShareStatus value)
inline

The status of the resource share.

Definition at line 206 of file ResourceShare.h.

◆ SetStatus() [2/2]

void Aws::RAM::Model::ResourceShare::SetStatus ( ResourceShareStatus &&  value)
inline

The status of the resource share.

Definition at line 211 of file ResourceShare.h.

◆ SetStatusMessage() [1/3]

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

A message about the status of the resource share.

Definition at line 242 of file ResourceShare.h.

◆ SetStatusMessage() [2/3]

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

A message about the status of the resource share.

Definition at line 237 of file ResourceShare.h.

◆ SetStatusMessage() [3/3]

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

A message about the status of the resource share.

Definition at line 247 of file ResourceShare.h.

◆ SetTags() [1/2]

void Aws::RAM::Model::ResourceShare::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tags for the resource share.

Definition at line 283 of file ResourceShare.h.

◆ SetTags() [2/2]

void Aws::RAM::Model::ResourceShare::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tags for the resource share.

Definition at line 278 of file ResourceShare.h.

◆ StatusHasBeenSet()

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

The status of the resource share.

Definition at line 201 of file ResourceShare.h.

◆ StatusMessageHasBeenSet()

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

A message about the status of the resource share.

Definition at line 232 of file ResourceShare.h.

◆ TagsHasBeenSet()

bool Aws::RAM::Model::ResourceShare::TagsHasBeenSet ( ) const
inline

The tags for the resource share.

Definition at line 273 of file ResourceShare.h.

◆ WithAllowExternalPrincipals()

ResourceShare& Aws::RAM::Model::ResourceShare::WithAllowExternalPrincipals ( bool  value)
inline

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

Definition at line 190 of file ResourceShare.h.

◆ WithCreationTime() [1/2]

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

The time when the resource share was created.

Definition at line 334 of file ResourceShare.h.

◆ WithCreationTime() [2/2]

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

The time when the resource share was created.

Definition at line 329 of file ResourceShare.h.

◆ WithFeatureSet() [1/2]

ResourceShare& Aws::RAM::Model::ResourceShare::WithFeatureSet ( const ResourceShareFeatureSet value)
inline

Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource. These resource shares are visible only to the Amazon Web Services account that created it. They cannot be modified in RAM.

  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.

  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals. They can be modified in RAM.

Definition at line 441 of file ResourceShare.h.

◆ WithFeatureSet() [2/2]

ResourceShare& Aws::RAM::Model::ResourceShare::WithFeatureSet ( ResourceShareFeatureSet &&  value)
inline

Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource. These resource shares are visible only to the Amazon Web Services account that created it. They cannot be modified in RAM.

  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.

  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals. They can be modified in RAM.

Definition at line 456 of file ResourceShare.h.

◆ WithLastUpdatedTime() [1/2]

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

The time when the resource share was last updated.

Definition at line 365 of file ResourceShare.h.

◆ WithLastUpdatedTime() [2/2]

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

The time when the resource share was last updated.

Definition at line 360 of file ResourceShare.h.

◆ WithName() [1/3]

ResourceShare& Aws::RAM::Model::ResourceShare::WithName ( Aws::String &&  value)
inline

The name of the resource share.

Definition at line 119 of file ResourceShare.h.

◆ WithName() [2/3]

ResourceShare& Aws::RAM::Model::ResourceShare::WithName ( const Aws::String value)
inline

The name of the resource share.

Definition at line 114 of file ResourceShare.h.

◆ WithName() [3/3]

ResourceShare& Aws::RAM::Model::ResourceShare::WithName ( const char *  value)
inline

The name of the resource share.

Definition at line 124 of file ResourceShare.h.

◆ WithOwningAccountId() [1/3]

ResourceShare& Aws::RAM::Model::ResourceShare::WithOwningAccountId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 160 of file ResourceShare.h.

◆ WithOwningAccountId() [2/3]

ResourceShare& Aws::RAM::Model::ResourceShare::WithOwningAccountId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 155 of file ResourceShare.h.

◆ WithOwningAccountId() [3/3]

ResourceShare& Aws::RAM::Model::ResourceShare::WithOwningAccountId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the resource share.

Definition at line 165 of file ResourceShare.h.

◆ WithResourceShareArn() [1/3]

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

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

Definition at line 78 of file ResourceShare.h.

◆ WithResourceShareArn() [2/3]

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

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

Definition at line 73 of file ResourceShare.h.

◆ WithResourceShareArn() [3/3]

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

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

Definition at line 83 of file ResourceShare.h.

◆ WithStatus() [1/2]

ResourceShare& Aws::RAM::Model::ResourceShare::WithStatus ( const ResourceShareStatus value)
inline

The status of the resource share.

Definition at line 216 of file ResourceShare.h.

◆ WithStatus() [2/2]

ResourceShare& Aws::RAM::Model::ResourceShare::WithStatus ( ResourceShareStatus &&  value)
inline

The status of the resource share.

Definition at line 221 of file ResourceShare.h.

◆ WithStatusMessage() [1/3]

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

A message about the status of the resource share.

Definition at line 257 of file ResourceShare.h.

◆ WithStatusMessage() [2/3]

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

A message about the status of the resource share.

Definition at line 252 of file ResourceShare.h.

◆ WithStatusMessage() [3/3]

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

A message about the status of the resource share.

Definition at line 262 of file ResourceShare.h.

◆ WithTags() [1/2]

ResourceShare& Aws::RAM::Model::ResourceShare::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tags for the resource share.

Definition at line 293 of file ResourceShare.h.

◆ WithTags() [2/2]

ResourceShare& Aws::RAM::Model::ResourceShare::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tags for the resource share.

Definition at line 288 of file ResourceShare.h.


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