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

#include <Contributor.h>

Public Member Functions

 Contributor ()
 
 Contributor (Aws::Utils::Json::JsonView jsonValue)
 
Contributoroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
ContributorWithName (const Aws::String &value)
 
ContributorWithName (Aws::String &&value)
 
ContributorWithName (const char *value)
 
long long GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (long long value)
 
ContributorWithValue (long long value)
 

Detailed Description

A contributor to the attack and their contribution.

See Also:

AWS API Reference

Definition at line 32 of file Contributor.h.

Constructor & Destructor Documentation

◆ Contributor() [1/2]

Aws::Shield::Model::Contributor::Contributor ( )

◆ Contributor() [2/2]

Aws::Shield::Model::Contributor::Contributor ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const Aws::String& Aws::Shield::Model::Contributor::GetName ( ) const
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 47 of file Contributor.h.

◆ GetValue()

long long Aws::Shield::Model::Contributor::GetValue ( ) const
inline

The contribution of this contributor expressed in Protection units. For example 10,000.

Definition at line 110 of file Contributor.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Shield::Model::Contributor::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::Shield::Model::Contributor::NameHasBeenSet ( ) const
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 55 of file Contributor.h.

◆ operator=()

Contributor& Aws::Shield::Model::Contributor::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetName() [1/3]

void Aws::Shield::Model::Contributor::SetName ( Aws::String &&  value)
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 71 of file Contributor.h.

◆ SetName() [2/3]

void Aws::Shield::Model::Contributor::SetName ( const Aws::String value)
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 63 of file Contributor.h.

◆ SetName() [3/3]

void Aws::Shield::Model::Contributor::SetName ( const char *  value)
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 79 of file Contributor.h.

◆ SetValue()

void Aws::Shield::Model::Contributor::SetValue ( long long  value)
inline

The contribution of this contributor expressed in Protection units. For example 10,000.

Definition at line 122 of file Contributor.h.

◆ ValueHasBeenSet()

bool Aws::Shield::Model::Contributor::ValueHasBeenSet ( ) const
inline

The contribution of this contributor expressed in Protection units. For example 10,000.

Definition at line 116 of file Contributor.h.

◆ WithName() [1/3]

Contributor& Aws::Shield::Model::Contributor::WithName ( Aws::String &&  value)
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 95 of file Contributor.h.

◆ WithName() [2/3]

Contributor& Aws::Shield::Model::Contributor::WithName ( const Aws::String value)
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 87 of file Contributor.h.

◆ WithName() [3/3]

Contributor& Aws::Shield::Model::Contributor::WithName ( const char *  value)
inline

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Definition at line 103 of file Contributor.h.

◆ WithValue()

Contributor& Aws::Shield::Model::Contributor::WithValue ( long long  value)
inline

The contribution of this contributor expressed in Protection units. For example 10,000.

Definition at line 128 of file Contributor.h.


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