AWS SDK for C++  1.9.130
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::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::StringGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Aws::String &value)
 
void SetType (Aws::String &&value)
 
void SetType (const char *value)
 
ResourceWithType (const Aws::String &value)
 
ResourceWithType (Aws::String &&value)
 
ResourceWithType (const char *value)
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
ResourceWithId (const Aws::String &value)
 
ResourceWithId (Aws::String &&value)
 
ResourceWithId (const char *value)
 
const PartitionGetPartition () const
 
bool PartitionHasBeenSet () const
 
void SetPartition (const Partition &value)
 
void SetPartition (Partition &&value)
 
ResourceWithPartition (const Partition &value)
 
ResourceWithPartition (Partition &&value)
 
const Aws::StringGetRegion () const
 
bool RegionHasBeenSet () const
 
void SetRegion (const Aws::String &value)
 
void SetRegion (Aws::String &&value)
 
void SetRegion (const char *value)
 
ResourceWithRegion (const Aws::String &value)
 
ResourceWithRegion (Aws::String &&value)
 
ResourceWithRegion (const char *value)
 
const Aws::StringGetResourceRole () const
 
bool ResourceRoleHasBeenSet () const
 
void SetResourceRole (const Aws::String &value)
 
void SetResourceRole (Aws::String &&value)
 
void SetResourceRole (const char *value)
 
ResourceWithResourceRole (const Aws::String &value)
 
ResourceWithResourceRole (Aws::String &&value)
 
ResourceWithResourceRole (const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetTags (Aws::Map< Aws::String, Aws::String > &&value)
 
ResourceWithTags (const Aws::Map< Aws::String, Aws::String > &value)
 
ResourceWithTags (Aws::Map< Aws::String, Aws::String > &&value)
 
ResourceAddTags (const Aws::String &key, const Aws::String &value)
 
ResourceAddTags (Aws::String &&key, const Aws::String &value)
 
ResourceAddTags (const Aws::String &key, Aws::String &&value)
 
ResourceAddTags (Aws::String &&key, Aws::String &&value)
 
ResourceAddTags (const char *key, Aws::String &&value)
 
ResourceAddTags (Aws::String &&key, const char *value)
 
ResourceAddTags (const char *key, const char *value)
 
const DataClassificationDetailsGetDataClassification () const
 
bool DataClassificationHasBeenSet () const
 
void SetDataClassification (const DataClassificationDetails &value)
 
void SetDataClassification (DataClassificationDetails &&value)
 
ResourceWithDataClassification (const DataClassificationDetails &value)
 
ResourceWithDataClassification (DataClassificationDetails &&value)
 
const ResourceDetailsGetDetails () const
 
bool DetailsHasBeenSet () const
 
void SetDetails (const ResourceDetails &value)
 
void SetDetails (ResourceDetails &&value)
 
ResourceWithDetails (const ResourceDetails &value)
 
ResourceWithDetails (ResourceDetails &&value)
 

Detailed Description

A resource related to a finding.

See Also:

AWS API Reference

Definition at line 35 of file Resource.h.

Constructor & Destructor Documentation

◆ Resource() [1/2]

Aws::SecurityHub::Model::Resource::Resource ( )

◆ Resource() [2/2]

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

Member Function Documentation

◆ AddTags() [1/7]

Resource& Aws::SecurityHub::Model::Resource::AddTags ( Aws::String &&  key,
Aws::String &&  value 
)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 351 of file Resource.h.

◆ AddTags() [2/7]

Resource& Aws::SecurityHub::Model::Resource::AddTags ( Aws::String &&  key,
const Aws::String value 
)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 339 of file Resource.h.

◆ AddTags() [3/7]

Resource& Aws::SecurityHub::Model::Resource::AddTags ( Aws::String &&  key,
const char *  value 
)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 363 of file Resource.h.

◆ AddTags() [4/7]

Resource& Aws::SecurityHub::Model::Resource::AddTags ( const Aws::String key,
Aws::String &&  value 
)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 345 of file Resource.h.

◆ AddTags() [5/7]

Resource& Aws::SecurityHub::Model::Resource::AddTags ( const Aws::String key,
const Aws::String value 
)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 333 of file Resource.h.

◆ AddTags() [6/7]

Resource& Aws::SecurityHub::Model::Resource::AddTags ( const char *  key,
Aws::String &&  value 
)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 357 of file Resource.h.

◆ AddTags() [7/7]

Resource& Aws::SecurityHub::Model::Resource::AddTags ( const char *  key,
const char *  value 
)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 369 of file Resource.h.

◆ DataClassificationHasBeenSet()

bool Aws::SecurityHub::Model::Resource::DataClassificationHasBeenSet ( ) const
inline

Contains information about sensitive data that was detected on the resource.

Definition at line 382 of file Resource.h.

◆ DetailsHasBeenSet()

bool Aws::SecurityHub::Model::Resource::DetailsHasBeenSet ( ) const
inline

Additional details about the resource related to a finding.

Definition at line 417 of file Resource.h.

◆ GetDataClassification()

const DataClassificationDetails& Aws::SecurityHub::Model::Resource::GetDataClassification ( ) const
inline

Contains information about sensitive data that was detected on the resource.

Definition at line 376 of file Resource.h.

◆ GetDetails()

const ResourceDetails& Aws::SecurityHub::Model::Resource::GetDetails ( ) const
inline

Additional details about the resource related to a finding.

Definition at line 412 of file Resource.h.

◆ GetId()

const Aws::String& Aws::SecurityHub::Model::Resource::GetId ( ) const
inline

The canonical identifier for the given resource type.

Definition at line 120 of file Resource.h.

◆ GetPartition()

const Partition& Aws::SecurityHub::Model::Resource::GetPartition ( ) const
inline

The canonical Amazon Web Services partition name that the Region is assigned to.

Definition at line 162 of file Resource.h.

◆ GetRegion()

const Aws::String& Aws::SecurityHub::Model::Resource::GetRegion ( ) const
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 199 of file Resource.h.

◆ GetResourceRole()

const Aws::String& Aws::SecurityHub::Model::Resource::GetResourceRole ( ) const
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 248 of file Resource.h.

◆ GetTags()

const Aws::Map<Aws::String, Aws::String>& Aws::SecurityHub::Model::Resource::GetTags ( ) const
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 297 of file Resource.h.

◆ GetType()

const Aws::String& Aws::SecurityHub::Model::Resource::GetType ( ) const
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 51 of file Resource.h.

◆ IdHasBeenSet()

bool Aws::SecurityHub::Model::Resource::IdHasBeenSet ( ) const
inline

The canonical identifier for the given resource type.

Definition at line 125 of file Resource.h.

◆ Jsonize()

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

◆ operator=()

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

◆ PartitionHasBeenSet()

bool Aws::SecurityHub::Model::Resource::PartitionHasBeenSet ( ) const
inline

The canonical Amazon Web Services partition name that the Region is assigned to.

Definition at line 168 of file Resource.h.

◆ RegionHasBeenSet()

bool Aws::SecurityHub::Model::Resource::RegionHasBeenSet ( ) const
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 205 of file Resource.h.

◆ ResourceRoleHasBeenSet()

bool Aws::SecurityHub::Model::Resource::ResourceRoleHasBeenSet ( ) const
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 254 of file Resource.h.

◆ SetDataClassification() [1/2]

void Aws::SecurityHub::Model::Resource::SetDataClassification ( const DataClassificationDetails value)
inline

Contains information about sensitive data that was detected on the resource.

Definition at line 388 of file Resource.h.

◆ SetDataClassification() [2/2]

void Aws::SecurityHub::Model::Resource::SetDataClassification ( DataClassificationDetails &&  value)
inline

Contains information about sensitive data that was detected on the resource.

Definition at line 394 of file Resource.h.

◆ SetDetails() [1/2]

void Aws::SecurityHub::Model::Resource::SetDetails ( const ResourceDetails value)
inline

Additional details about the resource related to a finding.

Definition at line 422 of file Resource.h.

◆ SetDetails() [2/2]

void Aws::SecurityHub::Model::Resource::SetDetails ( ResourceDetails &&  value)
inline

Additional details about the resource related to a finding.

Definition at line 427 of file Resource.h.

◆ SetId() [1/3]

void Aws::SecurityHub::Model::Resource::SetId ( Aws::String &&  value)
inline

The canonical identifier for the given resource type.

Definition at line 135 of file Resource.h.

◆ SetId() [2/3]

void Aws::SecurityHub::Model::Resource::SetId ( const Aws::String value)
inline

The canonical identifier for the given resource type.

Definition at line 130 of file Resource.h.

◆ SetId() [3/3]

void Aws::SecurityHub::Model::Resource::SetId ( const char *  value)
inline

The canonical identifier for the given resource type.

Definition at line 140 of file Resource.h.

◆ SetPartition() [1/2]

void Aws::SecurityHub::Model::Resource::SetPartition ( const Partition value)
inline

The canonical Amazon Web Services partition name that the Region is assigned to.

Definition at line 174 of file Resource.h.

◆ SetPartition() [2/2]

void Aws::SecurityHub::Model::Resource::SetPartition ( Partition &&  value)
inline

The canonical Amazon Web Services partition name that the Region is assigned to.

Definition at line 180 of file Resource.h.

◆ SetRegion() [1/3]

void Aws::SecurityHub::Model::Resource::SetRegion ( Aws::String &&  value)
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 217 of file Resource.h.

◆ SetRegion() [2/3]

void Aws::SecurityHub::Model::Resource::SetRegion ( const Aws::String value)
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 211 of file Resource.h.

◆ SetRegion() [3/3]

void Aws::SecurityHub::Model::Resource::SetRegion ( const char *  value)
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 223 of file Resource.h.

◆ SetResourceRole() [1/3]

void Aws::SecurityHub::Model::Resource::SetResourceRole ( Aws::String &&  value)
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 266 of file Resource.h.

◆ SetResourceRole() [2/3]

void Aws::SecurityHub::Model::Resource::SetResourceRole ( const Aws::String value)
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 260 of file Resource.h.

◆ SetResourceRole() [3/3]

void Aws::SecurityHub::Model::Resource::SetResourceRole ( const char *  value)
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 272 of file Resource.h.

◆ SetTags() [1/2]

void Aws::SecurityHub::Model::Resource::SetTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 315 of file Resource.h.

◆ SetTags() [2/2]

void Aws::SecurityHub::Model::Resource::SetTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 309 of file Resource.h.

◆ SetType() [1/3]

void Aws::SecurityHub::Model::Resource::SetType ( Aws::String &&  value)
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 78 of file Resource.h.

◆ SetType() [2/3]

void Aws::SecurityHub::Model::Resource::SetType ( const Aws::String value)
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 69 of file Resource.h.

◆ SetType() [3/3]

void Aws::SecurityHub::Model::Resource::SetType ( const char *  value)
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 87 of file Resource.h.

◆ TagsHasBeenSet()

bool Aws::SecurityHub::Model::Resource::TagsHasBeenSet ( ) const
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 303 of file Resource.h.

◆ TypeHasBeenSet()

bool Aws::SecurityHub::Model::Resource::TypeHasBeenSet ( ) const
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 60 of file Resource.h.

◆ WithDataClassification() [1/2]

Resource& Aws::SecurityHub::Model::Resource::WithDataClassification ( const DataClassificationDetails value)
inline

Contains information about sensitive data that was detected on the resource.

Definition at line 400 of file Resource.h.

◆ WithDataClassification() [2/2]

Resource& Aws::SecurityHub::Model::Resource::WithDataClassification ( DataClassificationDetails &&  value)
inline

Contains information about sensitive data that was detected on the resource.

Definition at line 406 of file Resource.h.

◆ WithDetails() [1/2]

Resource& Aws::SecurityHub::Model::Resource::WithDetails ( const ResourceDetails value)
inline

Additional details about the resource related to a finding.

Definition at line 432 of file Resource.h.

◆ WithDetails() [2/2]

Resource& Aws::SecurityHub::Model::Resource::WithDetails ( ResourceDetails &&  value)
inline

Additional details about the resource related to a finding.

Definition at line 437 of file Resource.h.

◆ WithId() [1/3]

Resource& Aws::SecurityHub::Model::Resource::WithId ( Aws::String &&  value)
inline

The canonical identifier for the given resource type.

Definition at line 150 of file Resource.h.

◆ WithId() [2/3]

Resource& Aws::SecurityHub::Model::Resource::WithId ( const Aws::String value)
inline

The canonical identifier for the given resource type.

Definition at line 145 of file Resource.h.

◆ WithId() [3/3]

Resource& Aws::SecurityHub::Model::Resource::WithId ( const char *  value)
inline

The canonical identifier for the given resource type.

Definition at line 155 of file Resource.h.

◆ WithPartition() [1/2]

Resource& Aws::SecurityHub::Model::Resource::WithPartition ( const Partition value)
inline

The canonical Amazon Web Services partition name that the Region is assigned to.

Definition at line 186 of file Resource.h.

◆ WithPartition() [2/2]

Resource& Aws::SecurityHub::Model::Resource::WithPartition ( Partition &&  value)
inline

The canonical Amazon Web Services partition name that the Region is assigned to.

Definition at line 192 of file Resource.h.

◆ WithRegion() [1/3]

Resource& Aws::SecurityHub::Model::Resource::WithRegion ( Aws::String &&  value)
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 235 of file Resource.h.

◆ WithRegion() [2/3]

Resource& Aws::SecurityHub::Model::Resource::WithRegion ( const Aws::String value)
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 229 of file Resource.h.

◆ WithRegion() [3/3]

Resource& Aws::SecurityHub::Model::Resource::WithRegion ( const char *  value)
inline

The canonical Amazon Web Services external Region name where this resource is located.

Definition at line 241 of file Resource.h.

◆ WithResourceRole() [1/3]

Resource& Aws::SecurityHub::Model::Resource::WithResourceRole ( Aws::String &&  value)
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 284 of file Resource.h.

◆ WithResourceRole() [2/3]

Resource& Aws::SecurityHub::Model::Resource::WithResourceRole ( const Aws::String value)
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 278 of file Resource.h.

◆ WithResourceRole() [3/3]

Resource& Aws::SecurityHub::Model::Resource::WithResourceRole ( const char *  value)
inline

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

Definition at line 290 of file Resource.h.

◆ WithTags() [1/2]

Resource& Aws::SecurityHub::Model::Resource::WithTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 327 of file Resource.h.

◆ WithTags() [2/2]

Resource& Aws::SecurityHub::Model::Resource::WithTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

Definition at line 321 of file Resource.h.

◆ WithType() [1/3]

Resource& Aws::SecurityHub::Model::Resource::WithType ( Aws::String &&  value)
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 105 of file Resource.h.

◆ WithType() [2/3]

Resource& Aws::SecurityHub::Model::Resource::WithType ( const Aws::String value)
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 96 of file Resource.h.

◆ WithType() [3/3]

Resource& Aws::SecurityHub::Model::Resource::WithType ( const char *  value)
inline

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Definition at line 114 of file Resource.h.


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