AWS SDK for C++  1.8.76
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudTrail::Model::Resource Class Reference

#include <Resource.h>

Public Member Functions

 Resource ()
 
 Resource (Aws::Utils::Json::JsonView jsonValue)
 
Resourceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const Aws::String &value)
 
void SetResourceType (Aws::String &&value)
 
void SetResourceType (const char *value)
 
ResourceWithResourceType (const Aws::String &value)
 
ResourceWithResourceType (Aws::String &&value)
 
ResourceWithResourceType (const char *value)
 
const Aws::StringGetResourceName () const
 
bool ResourceNameHasBeenSet () const
 
void SetResourceName (const Aws::String &value)
 
void SetResourceName (Aws::String &&value)
 
void SetResourceName (const char *value)
 
ResourceWithResourceName (const Aws::String &value)
 
ResourceWithResourceName (Aws::String &&value)
 
ResourceWithResourceName (const char *value)
 

Detailed Description

Specifies the type and name of a resource referenced by an event.

See Also:

AWS API Reference

Definition at line 32 of file Resource.h.

Constructor & Destructor Documentation

◆ Resource() [1/2]

Aws::CloudTrail::Model::Resource::Resource ( )

◆ Resource() [2/2]

Aws::CloudTrail::Model::Resource::Resource ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetResourceName()

const Aws::String& Aws::CloudTrail::Model::Resource::GetResourceName ( ) const
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 136 of file Resource.h.

◆ GetResourceType()

const Aws::String& Aws::CloudTrail::Model::Resource::GetResourceType ( ) const
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 50 of file Resource.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CloudTrail::Model::Resource::Jsonize ( ) const

◆ operator=()

Resource& Aws::CloudTrail::Model::Resource::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ResourceNameHasBeenSet()

bool Aws::CloudTrail::Model::Resource::ResourceNameHasBeenSet ( ) const
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 144 of file Resource.h.

◆ ResourceTypeHasBeenSet()

bool Aws::CloudTrail::Model::Resource::ResourceTypeHasBeenSet ( ) const
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 61 of file Resource.h.

◆ SetResourceName() [1/3]

void Aws::CloudTrail::Model::Resource::SetResourceName ( const Aws::String value)
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 152 of file Resource.h.

◆ SetResourceName() [2/3]

void Aws::CloudTrail::Model::Resource::SetResourceName ( Aws::String &&  value)
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 160 of file Resource.h.

◆ SetResourceName() [3/3]

void Aws::CloudTrail::Model::Resource::SetResourceName ( const char *  value)
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 168 of file Resource.h.

◆ SetResourceType() [1/3]

void Aws::CloudTrail::Model::Resource::SetResourceType ( const Aws::String value)
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 72 of file Resource.h.

◆ SetResourceType() [2/3]

void Aws::CloudTrail::Model::Resource::SetResourceType ( Aws::String &&  value)
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 83 of file Resource.h.

◆ SetResourceType() [3/3]

void Aws::CloudTrail::Model::Resource::SetResourceType ( const char *  value)
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 94 of file Resource.h.

◆ WithResourceName() [1/3]

Resource& Aws::CloudTrail::Model::Resource::WithResourceName ( const Aws::String value)
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 176 of file Resource.h.

◆ WithResourceName() [2/3]

Resource& Aws::CloudTrail::Model::Resource::WithResourceName ( Aws::String &&  value)
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 184 of file Resource.h.

◆ WithResourceName() [3/3]

Resource& Aws::CloudTrail::Model::Resource::WithResourceName ( const char *  value)
inline

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

Definition at line 192 of file Resource.h.

◆ WithResourceType() [1/3]

Resource& Aws::CloudTrail::Model::Resource::WithResourceType ( const Aws::String value)
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 105 of file Resource.h.

◆ WithResourceType() [2/3]

Resource& Aws::CloudTrail::Model::Resource::WithResourceType ( Aws::String &&  value)
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 116 of file Resource.h.

◆ WithResourceType() [3/3]

Resource& Aws::CloudTrail::Model::Resource::WithResourceType ( const char *  value)
inline

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

Definition at line 127 of file Resource.h.


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