AWS SDK for C++  1.8.26
AWS SDK for C++
Public Member Functions | List of all members
Aws::IAM::Model::ContextEntry Class Reference

#include <ContextEntry.h>

Public Member Functions

 ContextEntry ()
 
 ContextEntry (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ContextEntryoperator= (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 Aws::StringGetContextKeyName () const
 
bool ContextKeyNameHasBeenSet () const
 
void SetContextKeyName (const Aws::String &value)
 
void SetContextKeyName (Aws::String &&value)
 
void SetContextKeyName (const char *value)
 
ContextEntryWithContextKeyName (const Aws::String &value)
 
ContextEntryWithContextKeyName (Aws::String &&value)
 
ContextEntryWithContextKeyName (const char *value)
 
const Aws::Vector< Aws::String > & GetContextKeyValues () const
 
bool ContextKeyValuesHasBeenSet () const
 
void SetContextKeyValues (const Aws::Vector< Aws::String > &value)
 
void SetContextKeyValues (Aws::Vector< Aws::String > &&value)
 
ContextEntryWithContextKeyValues (const Aws::Vector< Aws::String > &value)
 
ContextEntryWithContextKeyValues (Aws::Vector< Aws::String > &&value)
 
ContextEntryAddContextKeyValues (const Aws::String &value)
 
ContextEntryAddContextKeyValues (Aws::String &&value)
 
ContextEntryAddContextKeyValues (const char *value)
 
const ContextKeyTypeEnumGetContextKeyType () const
 
bool ContextKeyTypeHasBeenSet () const
 
void SetContextKeyType (const ContextKeyTypeEnum &value)
 
void SetContextKeyType (ContextKeyTypeEnum &&value)
 
ContextEntryWithContextKeyType (const ContextKeyTypeEnum &value)
 
ContextEntryWithContextKeyType (ContextKeyTypeEnum &&value)
 

Detailed Description

Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies.

This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.

See Also:

AWS API Reference

Definition at line 38 of file ContextEntry.h.

Constructor & Destructor Documentation

◆ ContextEntry() [1/2]

Aws::IAM::Model::ContextEntry::ContextEntry ( )

◆ ContextEntry() [2/2]

Aws::IAM::Model::ContextEntry::ContextEntry ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddContextKeyValues() [1/3]

ContextEntry& Aws::IAM::Model::ContextEntry::AddContextKeyValues ( const Aws::String value)
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 145 of file ContextEntry.h.

◆ AddContextKeyValues() [2/3]

ContextEntry& Aws::IAM::Model::ContextEntry::AddContextKeyValues ( Aws::String &&  value)
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 152 of file ContextEntry.h.

◆ AddContextKeyValues() [3/3]

ContextEntry& Aws::IAM::Model::ContextEntry::AddContextKeyValues ( const char *  value)
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 159 of file ContextEntry.h.

◆ ContextKeyNameHasBeenSet()

bool Aws::IAM::Model::ContextEntry::ContextKeyNameHasBeenSet ( ) const
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 59 of file ContextEntry.h.

◆ ContextKeyTypeHasBeenSet()

bool Aws::IAM::Model::ContextEntry::ContextKeyTypeHasBeenSet ( ) const
inline

The data type of the value (or values) specified in the ContextKeyValues parameter.

Definition at line 172 of file ContextEntry.h.

◆ ContextKeyValuesHasBeenSet()

bool Aws::IAM::Model::ContextEntry::ContextKeyValuesHasBeenSet ( ) const
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 110 of file ContextEntry.h.

◆ GetContextKeyName()

const Aws::String& Aws::IAM::Model::ContextEntry::GetContextKeyName ( ) const
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 53 of file ContextEntry.h.

◆ GetContextKeyType()

const ContextKeyTypeEnum& Aws::IAM::Model::ContextEntry::GetContextKeyType ( ) const
inline

The data type of the value (or values) specified in the ContextKeyValues parameter.

Definition at line 166 of file ContextEntry.h.

◆ GetContextKeyValues()

const Aws::Vector<Aws::String>& Aws::IAM::Model::ContextEntry::GetContextKeyValues ( ) const
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 103 of file ContextEntry.h.

◆ operator=()

ContextEntry& Aws::IAM::Model::ContextEntry::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

void Aws::IAM::Model::ContextEntry::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ SetContextKeyName() [1/3]

void Aws::IAM::Model::ContextEntry::SetContextKeyName ( const Aws::String value)
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 65 of file ContextEntry.h.

◆ SetContextKeyName() [2/3]

void Aws::IAM::Model::ContextEntry::SetContextKeyName ( Aws::String &&  value)
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 71 of file ContextEntry.h.

◆ SetContextKeyName() [3/3]

void Aws::IAM::Model::ContextEntry::SetContextKeyName ( const char *  value)
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 77 of file ContextEntry.h.

◆ SetContextKeyType() [1/2]

void Aws::IAM::Model::ContextEntry::SetContextKeyType ( const ContextKeyTypeEnum value)
inline

The data type of the value (or values) specified in the ContextKeyValues parameter.

Definition at line 178 of file ContextEntry.h.

◆ SetContextKeyType() [2/2]

void Aws::IAM::Model::ContextEntry::SetContextKeyType ( ContextKeyTypeEnum &&  value)
inline

The data type of the value (or values) specified in the ContextKeyValues parameter.

Definition at line 184 of file ContextEntry.h.

◆ SetContextKeyValues() [1/2]

void Aws::IAM::Model::ContextEntry::SetContextKeyValues ( const Aws::Vector< Aws::String > &  value)
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 117 of file ContextEntry.h.

◆ SetContextKeyValues() [2/2]

void Aws::IAM::Model::ContextEntry::SetContextKeyValues ( Aws::Vector< Aws::String > &&  value)
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 124 of file ContextEntry.h.

◆ WithContextKeyName() [1/3]

ContextEntry& Aws::IAM::Model::ContextEntry::WithContextKeyName ( const Aws::String value)
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 83 of file ContextEntry.h.

◆ WithContextKeyName() [2/3]

ContextEntry& Aws::IAM::Model::ContextEntry::WithContextKeyName ( Aws::String &&  value)
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 89 of file ContextEntry.h.

◆ WithContextKeyName() [3/3]

ContextEntry& Aws::IAM::Model::ContextEntry::WithContextKeyName ( const char *  value)
inline

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Definition at line 95 of file ContextEntry.h.

◆ WithContextKeyType() [1/2]

ContextEntry& Aws::IAM::Model::ContextEntry::WithContextKeyType ( const ContextKeyTypeEnum value)
inline

The data type of the value (or values) specified in the ContextKeyValues parameter.

Definition at line 190 of file ContextEntry.h.

◆ WithContextKeyType() [2/2]

ContextEntry& Aws::IAM::Model::ContextEntry::WithContextKeyType ( ContextKeyTypeEnum &&  value)
inline

The data type of the value (or values) specified in the ContextKeyValues parameter.

Definition at line 196 of file ContextEntry.h.

◆ WithContextKeyValues() [1/2]

ContextEntry& Aws::IAM::Model::ContextEntry::WithContextKeyValues ( const Aws::Vector< Aws::String > &  value)
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 131 of file ContextEntry.h.

◆ WithContextKeyValues() [2/2]

ContextEntry& Aws::IAM::Model::ContextEntry::WithContextKeyValues ( Aws::Vector< Aws::String > &&  value)
inline

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Definition at line 138 of file ContextEntry.h.


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