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

#include <Policy.h>

Public Member Functions

 Policy ()
 
 Policy (Aws::Utils::Json::JsonView jsonValue)
 
Policyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const PolicySummaryGetPolicySummary () const
 
bool PolicySummaryHasBeenSet () const
 
void SetPolicySummary (const PolicySummary &value)
 
void SetPolicySummary (PolicySummary &&value)
 
PolicyWithPolicySummary (const PolicySummary &value)
 
PolicyWithPolicySummary (PolicySummary &&value)
 
const Aws::StringGetContent () const
 
bool ContentHasBeenSet () const
 
void SetContent (const Aws::String &value)
 
void SetContent (Aws::String &&value)
 
void SetContent (const char *value)
 
PolicyWithContent (const Aws::String &value)
 
PolicyWithContent (Aws::String &&value)
 
PolicyWithContent (const char *value)
 

Detailed Description

Contains rules to be applied to the affected accounts. Policies can be attached directly to accounts, or to roots and OUs to affect all accounts in those hierarchies.

See Also:

AWS API Reference

Definition at line 34 of file Policy.h.

Constructor & Destructor Documentation

◆ Policy() [1/2]

Aws::Organizations::Model::Policy::Policy ( )

◆ Policy() [2/2]

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

Member Function Documentation

◆ ContentHasBeenSet()

bool Aws::Organizations::Model::Policy::ContentHasBeenSet ( ) const
inline

The text content of the policy.

Definition at line 82 of file Policy.h.

◆ GetContent()

const Aws::String& Aws::Organizations::Model::Policy::GetContent ( ) const
inline

The text content of the policy.

Definition at line 77 of file Policy.h.

◆ GetPolicySummary()

const PolicySummary& Aws::Organizations::Model::Policy::GetPolicySummary ( ) const
inline

A structure that contains additional details about the policy.

Definition at line 46 of file Policy.h.

◆ Jsonize()

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

◆ operator=()

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

◆ PolicySummaryHasBeenSet()

bool Aws::Organizations::Model::Policy::PolicySummaryHasBeenSet ( ) const
inline

A structure that contains additional details about the policy.

Definition at line 51 of file Policy.h.

◆ SetContent() [1/3]

void Aws::Organizations::Model::Policy::SetContent ( Aws::String &&  value)
inline

The text content of the policy.

Definition at line 92 of file Policy.h.

◆ SetContent() [2/3]

void Aws::Organizations::Model::Policy::SetContent ( const Aws::String value)
inline

The text content of the policy.

Definition at line 87 of file Policy.h.

◆ SetContent() [3/3]

void Aws::Organizations::Model::Policy::SetContent ( const char *  value)
inline

The text content of the policy.

Definition at line 97 of file Policy.h.

◆ SetPolicySummary() [1/2]

void Aws::Organizations::Model::Policy::SetPolicySummary ( const PolicySummary value)
inline

A structure that contains additional details about the policy.

Definition at line 56 of file Policy.h.

◆ SetPolicySummary() [2/2]

void Aws::Organizations::Model::Policy::SetPolicySummary ( PolicySummary &&  value)
inline

A structure that contains additional details about the policy.

Definition at line 61 of file Policy.h.

◆ WithContent() [1/3]

Policy& Aws::Organizations::Model::Policy::WithContent ( Aws::String &&  value)
inline

The text content of the policy.

Definition at line 107 of file Policy.h.

◆ WithContent() [2/3]

Policy& Aws::Organizations::Model::Policy::WithContent ( const Aws::String value)
inline

The text content of the policy.

Definition at line 102 of file Policy.h.

◆ WithContent() [3/3]

Policy& Aws::Organizations::Model::Policy::WithContent ( const char *  value)
inline

The text content of the policy.

Definition at line 112 of file Policy.h.

◆ WithPolicySummary() [1/2]

Policy& Aws::Organizations::Model::Policy::WithPolicySummary ( const PolicySummary value)
inline

A structure that contains additional details about the policy.

Definition at line 66 of file Policy.h.

◆ WithPolicySummary() [2/2]

Policy& Aws::Organizations::Model::Policy::WithPolicySummary ( PolicySummary &&  value)
inline

A structure that contains additional details about the policy.

Definition at line 71 of file Policy.h.


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