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

#include <Principal.h>

Public Member Functions

 Principal ()
 
 Principal (Aws::Utils::Json::JsonView jsonValue)
 
Principaloperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
PrincipalWithId (const Aws::String &value)
 
PrincipalWithId (Aws::String &&value)
 
PrincipalWithId (const char *value)
 
const Aws::StringGetResourceShareArn () const
 
bool ResourceShareArnHasBeenSet () const
 
void SetResourceShareArn (const Aws::String &value)
 
void SetResourceShareArn (Aws::String &&value)
 
void SetResourceShareArn (const char *value)
 
PrincipalWithResourceShareArn (const Aws::String &value)
 
PrincipalWithResourceShareArn (Aws::String &&value)
 
PrincipalWithResourceShareArn (const char *value)
 
const Aws::Utils::DateTimeGetCreationTime () const
 
bool CreationTimeHasBeenSet () const
 
void SetCreationTime (const Aws::Utils::DateTime &value)
 
void SetCreationTime (Aws::Utils::DateTime &&value)
 
PrincipalWithCreationTime (const Aws::Utils::DateTime &value)
 
PrincipalWithCreationTime (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)
 
PrincipalWithLastUpdatedTime (const Aws::Utils::DateTime &value)
 
PrincipalWithLastUpdatedTime (Aws::Utils::DateTime &&value)
 
bool GetExternal () const
 
bool ExternalHasBeenSet () const
 
void SetExternal (bool value)
 
PrincipalWithExternal (bool value)
 

Detailed Description

Describes a principal for use with Resource Access Manager.

See Also:

AWS API Reference

Definition at line 33 of file Principal.h.

Constructor & Destructor Documentation

◆ Principal() [1/2]

Aws::RAM::Model::Principal::Principal ( )

◆ Principal() [2/2]

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

Member Function Documentation

◆ CreationTimeHasBeenSet()

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

The time when the principal was associated with the resource share.

Definition at line 132 of file Principal.h.

◆ ExternalHasBeenSet()

bool Aws::RAM::Model::Principal::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 198 of file Principal.h.

◆ GetCreationTime()

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

The time when the principal was associated with the resource share.

Definition at line 127 of file Principal.h.

◆ GetExternal()

bool Aws::RAM::Model::Principal::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 191 of file Principal.h.

◆ GetId()

const Aws::String& Aws::RAM::Model::Principal::GetId ( ) const
inline

The ID of the principal.

Definition at line 45 of file Principal.h.

◆ GetLastUpdatedTime()

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

The time when the association was last updated.

Definition at line 158 of file Principal.h.

◆ GetResourceShareArn()

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

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

Definition at line 86 of file Principal.h.

◆ IdHasBeenSet()

bool Aws::RAM::Model::Principal::IdHasBeenSet ( ) const
inline

The ID of the principal.

Definition at line 50 of file Principal.h.

◆ Jsonize()

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

◆ LastUpdatedTimeHasBeenSet()

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

The time when the association was last updated.

Definition at line 163 of file Principal.h.

◆ operator=()

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

◆ ResourceShareArnHasBeenSet()

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

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

Definition at line 91 of file Principal.h.

◆ SetCreationTime() [1/2]

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

The time when the principal was associated with the resource share.

Definition at line 142 of file Principal.h.

◆ SetCreationTime() [2/2]

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

The time when the principal was associated with the resource share.

Definition at line 137 of file Principal.h.

◆ SetExternal()

void Aws::RAM::Model::Principal::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 205 of file Principal.h.

◆ SetId() [1/3]

void Aws::RAM::Model::Principal::SetId ( Aws::String &&  value)
inline

The ID of the principal.

Definition at line 60 of file Principal.h.

◆ SetId() [2/3]

void Aws::RAM::Model::Principal::SetId ( const Aws::String value)
inline

The ID of the principal.

Definition at line 55 of file Principal.h.

◆ SetId() [3/3]

void Aws::RAM::Model::Principal::SetId ( const char *  value)
inline

The ID of the principal.

Definition at line 65 of file Principal.h.

◆ SetLastUpdatedTime() [1/2]

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

The time when the association was last updated.

Definition at line 173 of file Principal.h.

◆ SetLastUpdatedTime() [2/2]

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

The time when the association was last updated.

Definition at line 168 of file Principal.h.

◆ SetResourceShareArn() [1/3]

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

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

Definition at line 101 of file Principal.h.

◆ SetResourceShareArn() [2/3]

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

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

Definition at line 96 of file Principal.h.

◆ SetResourceShareArn() [3/3]

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

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

Definition at line 106 of file Principal.h.

◆ WithCreationTime() [1/2]

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

The time when the principal was associated with the resource share.

Definition at line 152 of file Principal.h.

◆ WithCreationTime() [2/2]

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

The time when the principal was associated with the resource share.

Definition at line 147 of file Principal.h.

◆ WithExternal()

Principal& Aws::RAM::Model::Principal::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 212 of file Principal.h.

◆ WithId() [1/3]

Principal& Aws::RAM::Model::Principal::WithId ( Aws::String &&  value)
inline

The ID of the principal.

Definition at line 75 of file Principal.h.

◆ WithId() [2/3]

Principal& Aws::RAM::Model::Principal::WithId ( const Aws::String value)
inline

The ID of the principal.

Definition at line 70 of file Principal.h.

◆ WithId() [3/3]

Principal& Aws::RAM::Model::Principal::WithId ( const char *  value)
inline

The ID of the principal.

Definition at line 80 of file Principal.h.

◆ WithLastUpdatedTime() [1/2]

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

The time when the association was last updated.

Definition at line 183 of file Principal.h.

◆ WithLastUpdatedTime() [2/2]

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

The time when the association was last updated.

Definition at line 178 of file Principal.h.

◆ WithResourceShareArn() [1/3]

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

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

Definition at line 116 of file Principal.h.

◆ WithResourceShareArn() [2/3]

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

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

Definition at line 111 of file Principal.h.

◆ WithResourceShareArn() [3/3]

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

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

Definition at line 121 of file Principal.h.


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