AWS SDK for C++  1.9.73
AWS SDK for C++
Public Member Functions | List of all members
Aws::Organizations::Model::PolicyTargetSummary Class Reference

#include <PolicyTargetSummary.h>

Public Member Functions

 PolicyTargetSummary ()
 
 PolicyTargetSummary (Aws::Utils::Json::JsonView jsonValue)
 
PolicyTargetSummaryoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetTargetId () const
 
bool TargetIdHasBeenSet () const
 
void SetTargetId (const Aws::String &value)
 
void SetTargetId (Aws::String &&value)
 
void SetTargetId (const char *value)
 
PolicyTargetSummaryWithTargetId (const Aws::String &value)
 
PolicyTargetSummaryWithTargetId (Aws::String &&value)
 
PolicyTargetSummaryWithTargetId (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)
 
PolicyTargetSummaryWithArn (const Aws::String &value)
 
PolicyTargetSummaryWithArn (Aws::String &&value)
 
PolicyTargetSummaryWithArn (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)
 
PolicyTargetSummaryWithName (const Aws::String &value)
 
PolicyTargetSummaryWithName (Aws::String &&value)
 
PolicyTargetSummaryWithName (const char *value)
 
const TargetTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const TargetType &value)
 
void SetType (TargetType &&value)
 
PolicyTargetSummaryWithType (const TargetType &value)
 
PolicyTargetSummaryWithType (TargetType &&value)
 

Detailed Description

Contains information about a root, OU, or account that a policy is attached to.

See Also:

AWS API Reference

Definition at line 33 of file PolicyTargetSummary.h.

Constructor & Destructor Documentation

◆ PolicyTargetSummary() [1/2]

Aws::Organizations::Model::PolicyTargetSummary::PolicyTargetSummary ( )

◆ PolicyTargetSummary() [2/2]

Aws::Organizations::Model::PolicyTargetSummary::PolicyTargetSummary ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ArnHasBeenSet()

bool Aws::Organizations::Model::PolicyTargetSummary::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 163 of file PolicyTargetSummary.h.

◆ GetArn()

const Aws::String& Aws::Organizations::Model::PolicyTargetSummary::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 154 of file PolicyTargetSummary.h.

◆ GetName()

const Aws::String& Aws::Organizations::Model::PolicyTargetSummary::GetName ( ) const
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 226 of file PolicyTargetSummary.h.

◆ GetTargetId()

const Aws::String& Aws::Organizations::Model::PolicyTargetSummary::GetTargetId ( ) const
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 53 of file PolicyTargetSummary.h.

◆ GetType()

const TargetType& Aws::Organizations::Model::PolicyTargetSummary::GetType ( ) const
inline

The type of the policy target.

Definition at line 288 of file PolicyTargetSummary.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Organizations::Model::PolicyTargetSummary::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::Organizations::Model::PolicyTargetSummary::NameHasBeenSet ( ) const
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 234 of file PolicyTargetSummary.h.

◆ operator=()

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetArn() [1/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 181 of file PolicyTargetSummary.h.

◆ SetArn() [2/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 172 of file PolicyTargetSummary.h.

◆ SetArn() [3/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 190 of file PolicyTargetSummary.h.

◆ SetName() [1/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetName ( Aws::String &&  value)
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 250 of file PolicyTargetSummary.h.

◆ SetName() [2/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetName ( const Aws::String value)
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 242 of file PolicyTargetSummary.h.

◆ SetName() [3/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetName ( const char *  value)
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 258 of file PolicyTargetSummary.h.

◆ SetTargetId() [1/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetTargetId ( Aws::String &&  value)
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 92 of file PolicyTargetSummary.h.

◆ SetTargetId() [2/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetTargetId ( const Aws::String value)
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 79 of file PolicyTargetSummary.h.

◆ SetTargetId() [3/3]

void Aws::Organizations::Model::PolicyTargetSummary::SetTargetId ( const char *  value)
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 105 of file PolicyTargetSummary.h.

◆ SetType() [1/2]

void Aws::Organizations::Model::PolicyTargetSummary::SetType ( const TargetType value)
inline

The type of the policy target.

Definition at line 298 of file PolicyTargetSummary.h.

◆ SetType() [2/2]

void Aws::Organizations::Model::PolicyTargetSummary::SetType ( TargetType &&  value)
inline

The type of the policy target.

Definition at line 303 of file PolicyTargetSummary.h.

◆ TargetIdHasBeenSet()

bool Aws::Organizations::Model::PolicyTargetSummary::TargetIdHasBeenSet ( ) const
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 66 of file PolicyTargetSummary.h.

◆ TypeHasBeenSet()

bool Aws::Organizations::Model::PolicyTargetSummary::TypeHasBeenSet ( ) const
inline

The type of the policy target.

Definition at line 293 of file PolicyTargetSummary.h.

◆ WithArn() [1/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 208 of file PolicyTargetSummary.h.

◆ WithArn() [2/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 199 of file PolicyTargetSummary.h.

◆ WithArn() [3/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

Definition at line 217 of file PolicyTargetSummary.h.

◆ WithName() [1/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithName ( Aws::String &&  value)
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 274 of file PolicyTargetSummary.h.

◆ WithName() [2/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithName ( const Aws::String value)
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 266 of file PolicyTargetSummary.h.

◆ WithName() [3/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithName ( const char *  value)
inline

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Definition at line 282 of file PolicyTargetSummary.h.

◆ WithTargetId() [1/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithTargetId ( Aws::String &&  value)
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 131 of file PolicyTargetSummary.h.

◆ WithTargetId() [2/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithTargetId ( const Aws::String value)
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 118 of file PolicyTargetSummary.h.

◆ WithTargetId() [3/3]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithTargetId ( const char *  value)
inline

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Definition at line 144 of file PolicyTargetSummary.h.

◆ WithType() [1/2]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithType ( const TargetType value)
inline

The type of the policy target.

Definition at line 308 of file PolicyTargetSummary.h.

◆ WithType() [2/2]

PolicyTargetSummary& Aws::Organizations::Model::PolicyTargetSummary::WithType ( TargetType &&  value)
inline

The type of the policy target.

Definition at line 313 of file PolicyTargetSummary.h.


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