AWS SDK for C++  1.9.73
AWS SDK for C++
Public Member Functions | List of all members
Aws::XRay::Model::SamplingStrategy Class Reference

#include <SamplingStrategy.h>

Public Member Functions

 SamplingStrategy ()
 
 SamplingStrategy (Aws::Utils::Json::JsonView jsonValue)
 
SamplingStrategyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const SamplingStrategyNameGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const SamplingStrategyName &value)
 
void SetName (SamplingStrategyName &&value)
 
SamplingStrategyWithName (const SamplingStrategyName &value)
 
SamplingStrategyWithName (SamplingStrategyName &&value)
 
double GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (double value)
 
SamplingStrategyWithValue (double value)
 

Detailed Description

The name and value of a sampling rule to apply to a trace summary.

See Also:

AWS API Reference

Definition at line 32 of file SamplingStrategy.h.

Constructor & Destructor Documentation

◆ SamplingStrategy() [1/2]

Aws::XRay::Model::SamplingStrategy::SamplingStrategy ( )

◆ SamplingStrategy() [2/2]

Aws::XRay::Model::SamplingStrategy::SamplingStrategy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const SamplingStrategyName& Aws::XRay::Model::SamplingStrategy::GetName ( ) const
inline

The name of a sampling rule.

Definition at line 44 of file SamplingStrategy.h.

◆ GetValue()

double Aws::XRay::Model::SamplingStrategy::GetValue ( ) const
inline

The value of a sampling rule.

Definition at line 75 of file SamplingStrategy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::XRay::Model::SamplingStrategy::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::XRay::Model::SamplingStrategy::NameHasBeenSet ( ) const
inline

The name of a sampling rule.

Definition at line 49 of file SamplingStrategy.h.

◆ operator=()

SamplingStrategy& Aws::XRay::Model::SamplingStrategy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetName() [1/2]

void Aws::XRay::Model::SamplingStrategy::SetName ( const SamplingStrategyName value)
inline

The name of a sampling rule.

Definition at line 54 of file SamplingStrategy.h.

◆ SetName() [2/2]

void Aws::XRay::Model::SamplingStrategy::SetName ( SamplingStrategyName &&  value)
inline

The name of a sampling rule.

Definition at line 59 of file SamplingStrategy.h.

◆ SetValue()

void Aws::XRay::Model::SamplingStrategy::SetValue ( double  value)
inline

The value of a sampling rule.

Definition at line 85 of file SamplingStrategy.h.

◆ ValueHasBeenSet()

bool Aws::XRay::Model::SamplingStrategy::ValueHasBeenSet ( ) const
inline

The value of a sampling rule.

Definition at line 80 of file SamplingStrategy.h.

◆ WithName() [1/2]

SamplingStrategy& Aws::XRay::Model::SamplingStrategy::WithName ( const SamplingStrategyName value)
inline

The name of a sampling rule.

Definition at line 64 of file SamplingStrategy.h.

◆ WithName() [2/2]

SamplingStrategy& Aws::XRay::Model::SamplingStrategy::WithName ( SamplingStrategyName &&  value)
inline

The name of a sampling rule.

Definition at line 69 of file SamplingStrategy.h.

◆ WithValue()

SamplingStrategy& Aws::XRay::Model::SamplingStrategy::WithValue ( double  value)
inline

The value of a sampling rule.

Definition at line 90 of file SamplingStrategy.h.


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