AWS SDK for C++  1.9.67
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudWatchLogs::Model::ResourcePolicy Class Reference

#include <ResourcePolicy.h>

Public Member Functions

 ResourcePolicy ()
 
 ResourcePolicy (Aws::Utils::Json::JsonView jsonValue)
 
ResourcePolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetPolicyName () const
 
bool PolicyNameHasBeenSet () const
 
void SetPolicyName (const Aws::String &value)
 
void SetPolicyName (Aws::String &&value)
 
void SetPolicyName (const char *value)
 
ResourcePolicyWithPolicyName (const Aws::String &value)
 
ResourcePolicyWithPolicyName (Aws::String &&value)
 
ResourcePolicyWithPolicyName (const char *value)
 
const Aws::StringGetPolicyDocument () const
 
bool PolicyDocumentHasBeenSet () const
 
void SetPolicyDocument (const Aws::String &value)
 
void SetPolicyDocument (Aws::String &&value)
 
void SetPolicyDocument (const char *value)
 
ResourcePolicyWithPolicyDocument (const Aws::String &value)
 
ResourcePolicyWithPolicyDocument (Aws::String &&value)
 
ResourcePolicyWithPolicyDocument (const char *value)
 
long long GetLastUpdatedTime () const
 
bool LastUpdatedTimeHasBeenSet () const
 
void SetLastUpdatedTime (long long value)
 
ResourcePolicyWithLastUpdatedTime (long long value)
 

Detailed Description

A policy enabling one or more entities to put logs to a log group in this account.

See Also:

AWS API Reference

Definition at line 32 of file ResourcePolicy.h.

Constructor & Destructor Documentation

◆ ResourcePolicy() [1/2]

Aws::CloudWatchLogs::Model::ResourcePolicy::ResourcePolicy ( )

◆ ResourcePolicy() [2/2]

Aws::CloudWatchLogs::Model::ResourcePolicy::ResourcePolicy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetLastUpdatedTime()

long long Aws::CloudWatchLogs::Model::ResourcePolicy::GetLastUpdatedTime ( ) const
inline

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Definition at line 127 of file ResourcePolicy.h.

◆ GetPolicyDocument()

const Aws::String& Aws::CloudWatchLogs::Model::ResourcePolicy::GetPolicyDocument ( ) const
inline

The details of the policy.

Definition at line 85 of file ResourcePolicy.h.

◆ GetPolicyName()

const Aws::String& Aws::CloudWatchLogs::Model::ResourcePolicy::GetPolicyName ( ) const
inline

The name of the resource policy.

Definition at line 44 of file ResourcePolicy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CloudWatchLogs::Model::ResourcePolicy::Jsonize ( ) const

◆ LastUpdatedTimeHasBeenSet()

bool Aws::CloudWatchLogs::Model::ResourcePolicy::LastUpdatedTimeHasBeenSet ( ) const
inline

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Definition at line 133 of file ResourcePolicy.h.

◆ operator=()

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PolicyDocumentHasBeenSet()

bool Aws::CloudWatchLogs::Model::ResourcePolicy::PolicyDocumentHasBeenSet ( ) const
inline

The details of the policy.

Definition at line 90 of file ResourcePolicy.h.

◆ PolicyNameHasBeenSet()

bool Aws::CloudWatchLogs::Model::ResourcePolicy::PolicyNameHasBeenSet ( ) const
inline

The name of the resource policy.

Definition at line 49 of file ResourcePolicy.h.

◆ SetLastUpdatedTime()

void Aws::CloudWatchLogs::Model::ResourcePolicy::SetLastUpdatedTime ( long long  value)
inline

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Definition at line 139 of file ResourcePolicy.h.

◆ SetPolicyDocument() [1/3]

void Aws::CloudWatchLogs::Model::ResourcePolicy::SetPolicyDocument ( Aws::String &&  value)
inline

The details of the policy.

Definition at line 100 of file ResourcePolicy.h.

◆ SetPolicyDocument() [2/3]

void Aws::CloudWatchLogs::Model::ResourcePolicy::SetPolicyDocument ( const Aws::String value)
inline

The details of the policy.

Definition at line 95 of file ResourcePolicy.h.

◆ SetPolicyDocument() [3/3]

void Aws::CloudWatchLogs::Model::ResourcePolicy::SetPolicyDocument ( const char *  value)
inline

The details of the policy.

Definition at line 105 of file ResourcePolicy.h.

◆ SetPolicyName() [1/3]

void Aws::CloudWatchLogs::Model::ResourcePolicy::SetPolicyName ( Aws::String &&  value)
inline

The name of the resource policy.

Definition at line 59 of file ResourcePolicy.h.

◆ SetPolicyName() [2/3]

void Aws::CloudWatchLogs::Model::ResourcePolicy::SetPolicyName ( const Aws::String value)
inline

The name of the resource policy.

Definition at line 54 of file ResourcePolicy.h.

◆ SetPolicyName() [3/3]

void Aws::CloudWatchLogs::Model::ResourcePolicy::SetPolicyName ( const char *  value)
inline

The name of the resource policy.

Definition at line 64 of file ResourcePolicy.h.

◆ WithLastUpdatedTime()

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::WithLastUpdatedTime ( long long  value)
inline

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Definition at line 145 of file ResourcePolicy.h.

◆ WithPolicyDocument() [1/3]

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::WithPolicyDocument ( Aws::String &&  value)
inline

The details of the policy.

Definition at line 115 of file ResourcePolicy.h.

◆ WithPolicyDocument() [2/3]

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::WithPolicyDocument ( const Aws::String value)
inline

The details of the policy.

Definition at line 110 of file ResourcePolicy.h.

◆ WithPolicyDocument() [3/3]

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::WithPolicyDocument ( const char *  value)
inline

The details of the policy.

Definition at line 120 of file ResourcePolicy.h.

◆ WithPolicyName() [1/3]

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::WithPolicyName ( Aws::String &&  value)
inline

The name of the resource policy.

Definition at line 74 of file ResourcePolicy.h.

◆ WithPolicyName() [2/3]

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::WithPolicyName ( const Aws::String value)
inline

The name of the resource policy.

Definition at line 69 of file ResourcePolicy.h.

◆ WithPolicyName() [3/3]

ResourcePolicy& Aws::CloudWatchLogs::Model::ResourcePolicy::WithPolicyName ( const char *  value)
inline

The name of the resource policy.

Definition at line 79 of file ResourcePolicy.h.


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