AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::Macie2::Model::SimpleScopeTerm Class Reference

#include <SimpleScopeTerm.h>

Public Member Functions

 SimpleScopeTerm ()
 
 SimpleScopeTerm (Aws::Utils::Json::JsonView jsonValue)
 
SimpleScopeTermoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const JobComparatorGetComparator () const
 
bool ComparatorHasBeenSet () const
 
void SetComparator (const JobComparator &value)
 
void SetComparator (JobComparator &&value)
 
SimpleScopeTermWithComparator (const JobComparator &value)
 
SimpleScopeTermWithComparator (JobComparator &&value)
 
const ScopeFilterKeyGetKey () const
 
bool KeyHasBeenSet () const
 
void SetKey (const ScopeFilterKey &value)
 
void SetKey (ScopeFilterKey &&value)
 
SimpleScopeTermWithKey (const ScopeFilterKey &value)
 
SimpleScopeTermWithKey (ScopeFilterKey &&value)
 
const Aws::Vector< Aws::String > & GetValues () const
 
bool ValuesHasBeenSet () const
 
void SetValues (const Aws::Vector< Aws::String > &value)
 
void SetValues (Aws::Vector< Aws::String > &&value)
 
SimpleScopeTermWithValues (const Aws::Vector< Aws::String > &value)
 
SimpleScopeTermWithValues (Aws::Vector< Aws::String > &&value)
 
SimpleScopeTermAddValues (const Aws::String &value)
 
SimpleScopeTermAddValues (Aws::String &&value)
 
SimpleScopeTermAddValues (const char *value)
 

Detailed Description

Specifies a property-based condition that determines whether an S3 object is included or excluded from a classification job.

See Also:

AWS API Reference

Definition at line 35 of file SimpleScopeTerm.h.

Constructor & Destructor Documentation

◆ SimpleScopeTerm() [1/2]

Aws::Macie2::Model::SimpleScopeTerm::SimpleScopeTerm ( )

◆ SimpleScopeTerm() [2/2]

Aws::Macie2::Model::SimpleScopeTerm::SimpleScopeTerm ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddValues() [1/3]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::AddValues ( Aws::String &&  value)
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 280 of file SimpleScopeTerm.h.

◆ AddValues() [2/3]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::AddValues ( const Aws::String value)
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 261 of file SimpleScopeTerm.h.

◆ AddValues() [3/3]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::AddValues ( const char *  value)
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 299 of file SimpleScopeTerm.h.

◆ ComparatorHasBeenSet()

bool Aws::Macie2::Model::SimpleScopeTerm::ComparatorHasBeenSet ( ) const
inline

The operator to use in the condition. Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

  • OBJECT_KEY - STARTS_WITH

  • OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS

  • OBJECT_SIZE - Any operator except CONTAINS

Definition at line 60 of file SimpleScopeTerm.h.

◆ GetComparator()

const JobComparator& Aws::Macie2::Model::SimpleScopeTerm::GetComparator ( ) const
inline

The operator to use in the condition. Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

  • OBJECT_KEY - STARTS_WITH

  • OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS

  • OBJECT_SIZE - Any operator except CONTAINS

Definition at line 51 of file SimpleScopeTerm.h.

◆ GetKey()

const ScopeFilterKey& Aws::Macie2::Model::SimpleScopeTerm::GetKey ( ) const
inline

The object property to use in the condition.

Definition at line 102 of file SimpleScopeTerm.h.

◆ GetValues()

const Aws::Vector<Aws::String>& Aws::Macie2::Model::SimpleScopeTerm::GetValues ( ) const
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 147 of file SimpleScopeTerm.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Macie2::Model::SimpleScopeTerm::Jsonize ( ) const

◆ KeyHasBeenSet()

bool Aws::Macie2::Model::SimpleScopeTerm::KeyHasBeenSet ( ) const
inline

The object property to use in the condition.

Definition at line 107 of file SimpleScopeTerm.h.

◆ operator=()

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetComparator() [1/2]

void Aws::Macie2::Model::SimpleScopeTerm::SetComparator ( const JobComparator value)
inline

The operator to use in the condition. Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

  • OBJECT_KEY - STARTS_WITH

  • OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS

  • OBJECT_SIZE - Any operator except CONTAINS

Definition at line 69 of file SimpleScopeTerm.h.

◆ SetComparator() [2/2]

void Aws::Macie2::Model::SimpleScopeTerm::SetComparator ( JobComparator &&  value)
inline

The operator to use in the condition. Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

  • OBJECT_KEY - STARTS_WITH

  • OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS

  • OBJECT_SIZE - Any operator except CONTAINS

Definition at line 78 of file SimpleScopeTerm.h.

◆ SetKey() [1/2]

void Aws::Macie2::Model::SimpleScopeTerm::SetKey ( const ScopeFilterKey value)
inline

The object property to use in the condition.

Definition at line 112 of file SimpleScopeTerm.h.

◆ SetKey() [2/2]

void Aws::Macie2::Model::SimpleScopeTerm::SetKey ( ScopeFilterKey &&  value)
inline

The object property to use in the condition.

Definition at line 117 of file SimpleScopeTerm.h.

◆ SetValues() [1/2]

void Aws::Macie2::Model::SimpleScopeTerm::SetValues ( Aws::Vector< Aws::String > &&  value)
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 204 of file SimpleScopeTerm.h.

◆ SetValues() [2/2]

void Aws::Macie2::Model::SimpleScopeTerm::SetValues ( const Aws::Vector< Aws::String > &  value)
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 185 of file SimpleScopeTerm.h.

◆ ValuesHasBeenSet()

bool Aws::Macie2::Model::SimpleScopeTerm::ValuesHasBeenSet ( ) const
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 166 of file SimpleScopeTerm.h.

◆ WithComparator() [1/2]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::WithComparator ( const JobComparator value)
inline

The operator to use in the condition. Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

  • OBJECT_KEY - STARTS_WITH

  • OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS

  • OBJECT_SIZE - Any operator except CONTAINS

Definition at line 87 of file SimpleScopeTerm.h.

◆ WithComparator() [2/2]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::WithComparator ( JobComparator &&  value)
inline

The operator to use in the condition. Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

  • OBJECT_KEY - STARTS_WITH

  • OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS

  • OBJECT_SIZE - Any operator except CONTAINS

Definition at line 96 of file SimpleScopeTerm.h.

◆ WithKey() [1/2]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::WithKey ( const ScopeFilterKey value)
inline

The object property to use in the condition.

Definition at line 122 of file SimpleScopeTerm.h.

◆ WithKey() [2/2]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::WithKey ( ScopeFilterKey &&  value)
inline

The object property to use in the condition.

Definition at line 127 of file SimpleScopeTerm.h.

◆ WithValues() [1/2]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::WithValues ( Aws::Vector< Aws::String > &&  value)
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 242 of file SimpleScopeTerm.h.

◆ WithValues() [2/2]

SimpleScopeTerm& Aws::Macie2::Model::SimpleScopeTerm::WithValues ( const Aws::Vector< Aws::String > &  value)
inline

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

  • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

  • OBJECT_KEY

    • A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

  • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

  • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

Definition at line 223 of file SimpleScopeTerm.h.


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