AWS SDK for C++  1.8.93
AWS SDK for C++
Public Member Functions | List of all members
Aws::EventBridge::Model::Condition Class Reference

#include <Condition.h>

Public Member Functions

 Condition ()
 
 Condition (Aws::Utils::Json::JsonView jsonValue)
 
Conditionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Aws::String &value)
 
void SetType (Aws::String &&value)
 
void SetType (const char *value)
 
ConditionWithType (const Aws::String &value)
 
ConditionWithType (Aws::String &&value)
 
ConditionWithType (const char *value)
 
const Aws::StringGetKey () const
 
bool KeyHasBeenSet () const
 
void SetKey (const Aws::String &value)
 
void SetKey (Aws::String &&value)
 
void SetKey (const char *value)
 
ConditionWithKey (const Aws::String &value)
 
ConditionWithKey (Aws::String &&value)
 
ConditionWithKey (const char *value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
ConditionWithValue (const Aws::String &value)
 
ConditionWithValue (Aws::String &&value)
 
ConditionWithValue (const char *value)
 

Detailed Description

A JSON string which you can use to limit the event bus permissions you are granting to only accounts that fulfill the condition. Currently, the only supported condition is membership in a certain AWS organization. The string must contain Type, Key, and Value fields. The Value field specifies the ID of the AWS organization. Following is an example value for Condition:

'{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value": "o-1234567890"}'

See Also:

AWS API Reference

Definition at line 38 of file Condition.h.

Constructor & Destructor Documentation

◆ Condition() [1/2]

Aws::EventBridge::Model::Condition::Condition ( )

◆ Condition() [2/2]

Aws::EventBridge::Model::Condition::Condition ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetKey()

const Aws::String& Aws::EventBridge::Model::Condition::GetKey ( ) const
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 100 of file Condition.h.

◆ GetType()

const Aws::String& Aws::EventBridge::Model::Condition::GetType ( ) const
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 51 of file Condition.h.

◆ GetValue()

const Aws::String& Aws::EventBridge::Model::Condition::GetValue ( ) const
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 149 of file Condition.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::EventBridge::Model::Condition::Jsonize ( ) const

◆ KeyHasBeenSet()

bool Aws::EventBridge::Model::Condition::KeyHasBeenSet ( ) const
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 106 of file Condition.h.

◆ operator=()

Condition& Aws::EventBridge::Model::Condition::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetKey() [1/3]

void Aws::EventBridge::Model::Condition::SetKey ( const Aws::String value)
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 112 of file Condition.h.

◆ SetKey() [2/3]

void Aws::EventBridge::Model::Condition::SetKey ( Aws::String &&  value)
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 118 of file Condition.h.

◆ SetKey() [3/3]

void Aws::EventBridge::Model::Condition::SetKey ( const char *  value)
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 124 of file Condition.h.

◆ SetType() [1/3]

void Aws::EventBridge::Model::Condition::SetType ( const Aws::String value)
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 63 of file Condition.h.

◆ SetType() [2/3]

void Aws::EventBridge::Model::Condition::SetType ( Aws::String &&  value)
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 69 of file Condition.h.

◆ SetType() [3/3]

void Aws::EventBridge::Model::Condition::SetType ( const char *  value)
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 75 of file Condition.h.

◆ SetValue() [1/3]

void Aws::EventBridge::Model::Condition::SetValue ( const Aws::String value)
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 161 of file Condition.h.

◆ SetValue() [2/3]

void Aws::EventBridge::Model::Condition::SetValue ( Aws::String &&  value)
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 167 of file Condition.h.

◆ SetValue() [3/3]

void Aws::EventBridge::Model::Condition::SetValue ( const char *  value)
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 173 of file Condition.h.

◆ TypeHasBeenSet()

bool Aws::EventBridge::Model::Condition::TypeHasBeenSet ( ) const
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 57 of file Condition.h.

◆ ValueHasBeenSet()

bool Aws::EventBridge::Model::Condition::ValueHasBeenSet ( ) const
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 155 of file Condition.h.

◆ WithKey() [1/3]

Condition& Aws::EventBridge::Model::Condition::WithKey ( const Aws::String value)
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 130 of file Condition.h.

◆ WithKey() [2/3]

Condition& Aws::EventBridge::Model::Condition::WithKey ( Aws::String &&  value)
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 136 of file Condition.h.

◆ WithKey() [3/3]

Condition& Aws::EventBridge::Model::Condition::WithKey ( const char *  value)
inline

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Definition at line 142 of file Condition.h.

◆ WithType() [1/3]

Condition& Aws::EventBridge::Model::Condition::WithType ( const Aws::String value)
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 81 of file Condition.h.

◆ WithType() [2/3]

Condition& Aws::EventBridge::Model::Condition::WithType ( Aws::String &&  value)
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 87 of file Condition.h.

◆ WithType() [3/3]

Condition& Aws::EventBridge::Model::Condition::WithType ( const char *  value)
inline

Specifies the type of condition. Currently the only supported value is StringEquals.

Definition at line 93 of file Condition.h.

◆ WithValue() [1/3]

Condition& Aws::EventBridge::Model::Condition::WithValue ( const Aws::String value)
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 179 of file Condition.h.

◆ WithValue() [2/3]

Condition& Aws::EventBridge::Model::Condition::WithValue ( Aws::String &&  value)
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 185 of file Condition.h.

◆ WithValue() [3/3]

Condition& Aws::EventBridge::Model::Condition::WithValue ( const char *  value)
inline

Specifies the value for the key. Currently, this must be the ID of the organization.

Definition at line 191 of file Condition.h.


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