AWS SDK for C++  1.9.104
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::AllowedPrincipal Class Reference

#include <AllowedPrincipal.h>

Public Member Functions

 AllowedPrincipal ()
 
 AllowedPrincipal (const Aws::Utils::Xml::XmlNode &xmlNode)
 
AllowedPrincipaloperator= (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 PrincipalTypeGetPrincipalType () const
 
bool PrincipalTypeHasBeenSet () const
 
void SetPrincipalType (const PrincipalType &value)
 
void SetPrincipalType (PrincipalType &&value)
 
AllowedPrincipalWithPrincipalType (const PrincipalType &value)
 
AllowedPrincipalWithPrincipalType (PrincipalType &&value)
 
const Aws::StringGetPrincipal () const
 
bool PrincipalHasBeenSet () const
 
void SetPrincipal (const Aws::String &value)
 
void SetPrincipal (Aws::String &&value)
 
void SetPrincipal (const char *value)
 
AllowedPrincipalWithPrincipal (const Aws::String &value)
 
AllowedPrincipalWithPrincipal (Aws::String &&value)
 
AllowedPrincipalWithPrincipal (const char *value)
 

Detailed Description

Describes a principal.

See Also:

AWS API Reference

Definition at line 32 of file AllowedPrincipal.h.

Constructor & Destructor Documentation

◆ AllowedPrincipal() [1/2]

Aws::EC2::Model::AllowedPrincipal::AllowedPrincipal ( )

◆ AllowedPrincipal() [2/2]

Aws::EC2::Model::AllowedPrincipal::AllowedPrincipal ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetPrincipal()

const Aws::String& Aws::EC2::Model::AllowedPrincipal::GetPrincipal ( ) const
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 77 of file AllowedPrincipal.h.

◆ GetPrincipalType()

const PrincipalType& Aws::EC2::Model::AllowedPrincipal::GetPrincipalType ( ) const
inline

The type of principal.

Definition at line 46 of file AllowedPrincipal.h.

◆ operator=()

AllowedPrincipal& Aws::EC2::Model::AllowedPrincipal::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::AllowedPrincipal::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

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

◆ PrincipalHasBeenSet()

bool Aws::EC2::Model::AllowedPrincipal::PrincipalHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 82 of file AllowedPrincipal.h.

◆ PrincipalTypeHasBeenSet()

bool Aws::EC2::Model::AllowedPrincipal::PrincipalTypeHasBeenSet ( ) const
inline

The type of principal.

Definition at line 51 of file AllowedPrincipal.h.

◆ SetPrincipal() [1/3]

void Aws::EC2::Model::AllowedPrincipal::SetPrincipal ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 92 of file AllowedPrincipal.h.

◆ SetPrincipal() [2/3]

void Aws::EC2::Model::AllowedPrincipal::SetPrincipal ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 87 of file AllowedPrincipal.h.

◆ SetPrincipal() [3/3]

void Aws::EC2::Model::AllowedPrincipal::SetPrincipal ( const char *  value)
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 97 of file AllowedPrincipal.h.

◆ SetPrincipalType() [1/2]

void Aws::EC2::Model::AllowedPrincipal::SetPrincipalType ( const PrincipalType value)
inline

The type of principal.

Definition at line 56 of file AllowedPrincipal.h.

◆ SetPrincipalType() [2/2]

void Aws::EC2::Model::AllowedPrincipal::SetPrincipalType ( PrincipalType &&  value)
inline

The type of principal.

Definition at line 61 of file AllowedPrincipal.h.

◆ WithPrincipal() [1/3]

AllowedPrincipal& Aws::EC2::Model::AllowedPrincipal::WithPrincipal ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 107 of file AllowedPrincipal.h.

◆ WithPrincipal() [2/3]

AllowedPrincipal& Aws::EC2::Model::AllowedPrincipal::WithPrincipal ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 102 of file AllowedPrincipal.h.

◆ WithPrincipal() [3/3]

AllowedPrincipal& Aws::EC2::Model::AllowedPrincipal::WithPrincipal ( const char *  value)
inline

The Amazon Resource Name (ARN) of the principal.

Definition at line 112 of file AllowedPrincipal.h.

◆ WithPrincipalType() [1/2]

AllowedPrincipal& Aws::EC2::Model::AllowedPrincipal::WithPrincipalType ( const PrincipalType value)
inline

The type of principal.

Definition at line 66 of file AllowedPrincipal.h.

◆ WithPrincipalType() [2/2]

AllowedPrincipal& Aws::EC2::Model::AllowedPrincipal::WithPrincipalType ( PrincipalType &&  value)
inline

The type of principal.

Definition at line 71 of file AllowedPrincipal.h.


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