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

#include <SamplingRule.h>

Public Member Functions

 SamplingRule ()
 
 SamplingRule (Aws::Utils::Json::JsonView jsonValue)
 
SamplingRuleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetRuleName () const
 
bool RuleNameHasBeenSet () const
 
void SetRuleName (const Aws::String &value)
 
void SetRuleName (Aws::String &&value)
 
void SetRuleName (const char *value)
 
SamplingRuleWithRuleName (const Aws::String &value)
 
SamplingRuleWithRuleName (Aws::String &&value)
 
SamplingRuleWithRuleName (const char *value)
 
const Aws::StringGetRuleARN () const
 
bool RuleARNHasBeenSet () const
 
void SetRuleARN (const Aws::String &value)
 
void SetRuleARN (Aws::String &&value)
 
void SetRuleARN (const char *value)
 
SamplingRuleWithRuleARN (const Aws::String &value)
 
SamplingRuleWithRuleARN (Aws::String &&value)
 
SamplingRuleWithRuleARN (const char *value)
 
const Aws::StringGetResourceARN () const
 
bool ResourceARNHasBeenSet () const
 
void SetResourceARN (const Aws::String &value)
 
void SetResourceARN (Aws::String &&value)
 
void SetResourceARN (const char *value)
 
SamplingRuleWithResourceARN (const Aws::String &value)
 
SamplingRuleWithResourceARN (Aws::String &&value)
 
SamplingRuleWithResourceARN (const char *value)
 
int GetPriority () const
 
bool PriorityHasBeenSet () const
 
void SetPriority (int value)
 
SamplingRuleWithPriority (int value)
 
double GetFixedRate () const
 
bool FixedRateHasBeenSet () const
 
void SetFixedRate (double value)
 
SamplingRuleWithFixedRate (double value)
 
int GetReservoirSize () const
 
bool ReservoirSizeHasBeenSet () const
 
void SetReservoirSize (int value)
 
SamplingRuleWithReservoirSize (int value)
 
const Aws::StringGetServiceName () const
 
bool ServiceNameHasBeenSet () const
 
void SetServiceName (const Aws::String &value)
 
void SetServiceName (Aws::String &&value)
 
void SetServiceName (const char *value)
 
SamplingRuleWithServiceName (const Aws::String &value)
 
SamplingRuleWithServiceName (Aws::String &&value)
 
SamplingRuleWithServiceName (const char *value)
 
const Aws::StringGetServiceType () const
 
bool ServiceTypeHasBeenSet () const
 
void SetServiceType (const Aws::String &value)
 
void SetServiceType (Aws::String &&value)
 
void SetServiceType (const char *value)
 
SamplingRuleWithServiceType (const Aws::String &value)
 
SamplingRuleWithServiceType (Aws::String &&value)
 
SamplingRuleWithServiceType (const char *value)
 
const Aws::StringGetHost () const
 
bool HostHasBeenSet () const
 
void SetHost (const Aws::String &value)
 
void SetHost (Aws::String &&value)
 
void SetHost (const char *value)
 
SamplingRuleWithHost (const Aws::String &value)
 
SamplingRuleWithHost (Aws::String &&value)
 
SamplingRuleWithHost (const char *value)
 
const Aws::StringGetHTTPMethod () const
 
bool HTTPMethodHasBeenSet () const
 
void SetHTTPMethod (const Aws::String &value)
 
void SetHTTPMethod (Aws::String &&value)
 
void SetHTTPMethod (const char *value)
 
SamplingRuleWithHTTPMethod (const Aws::String &value)
 
SamplingRuleWithHTTPMethod (Aws::String &&value)
 
SamplingRuleWithHTTPMethod (const char *value)
 
const Aws::StringGetURLPath () const
 
bool URLPathHasBeenSet () const
 
void SetURLPath (const Aws::String &value)
 
void SetURLPath (Aws::String &&value)
 
void SetURLPath (const char *value)
 
SamplingRuleWithURLPath (const Aws::String &value)
 
SamplingRuleWithURLPath (Aws::String &&value)
 
SamplingRuleWithURLPath (const char *value)
 
int GetVersion () const
 
bool VersionHasBeenSet () const
 
void SetVersion (int value)
 
SamplingRuleWithVersion (int value)
 
const Aws::Map< Aws::String, Aws::String > & GetAttributes () const
 
bool AttributesHasBeenSet () const
 
void SetAttributes (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetAttributes (Aws::Map< Aws::String, Aws::String > &&value)
 
SamplingRuleWithAttributes (const Aws::Map< Aws::String, Aws::String > &value)
 
SamplingRuleWithAttributes (Aws::Map< Aws::String, Aws::String > &&value)
 
SamplingRuleAddAttributes (const Aws::String &key, const Aws::String &value)
 
SamplingRuleAddAttributes (Aws::String &&key, const Aws::String &value)
 
SamplingRuleAddAttributes (const Aws::String &key, Aws::String &&value)
 
SamplingRuleAddAttributes (Aws::String &&key, Aws::String &&value)
 
SamplingRuleAddAttributes (const char *key, Aws::String &&value)
 
SamplingRuleAddAttributes (Aws::String &&key, const char *value)
 
SamplingRuleAddAttributes (const char *key, const char *value)
 

Detailed Description

A sampling rule that services use to decide whether to instrument a request. Rule fields can match properties of the service, or properties of a request. The service can ignore rules that don't match its properties.

See Also:

AWS API Reference

Definition at line 35 of file SamplingRule.h.

Constructor & Destructor Documentation

◆ SamplingRule() [1/2]

Aws::XRay::Model::SamplingRule::SamplingRule ( )

◆ SamplingRule() [2/2]

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

Member Function Documentation

◆ AddAttributes() [1/7]

SamplingRule& Aws::XRay::Model::SamplingRule::AddAttributes ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Matches attributes derived from the request.

Definition at line 548 of file SamplingRule.h.

◆ AddAttributes() [2/7]

SamplingRule& Aws::XRay::Model::SamplingRule::AddAttributes ( Aws::String &&  key,
const Aws::String value 
)
inline

Matches attributes derived from the request.

Definition at line 538 of file SamplingRule.h.

◆ AddAttributes() [3/7]

SamplingRule& Aws::XRay::Model::SamplingRule::AddAttributes ( Aws::String &&  key,
const char *  value 
)
inline

Matches attributes derived from the request.

Definition at line 558 of file SamplingRule.h.

◆ AddAttributes() [4/7]

SamplingRule& Aws::XRay::Model::SamplingRule::AddAttributes ( const Aws::String key,
Aws::String &&  value 
)
inline

Matches attributes derived from the request.

Definition at line 543 of file SamplingRule.h.

◆ AddAttributes() [5/7]

SamplingRule& Aws::XRay::Model::SamplingRule::AddAttributes ( const Aws::String key,
const Aws::String value 
)
inline

Matches attributes derived from the request.

Definition at line 533 of file SamplingRule.h.

◆ AddAttributes() [6/7]

SamplingRule& Aws::XRay::Model::SamplingRule::AddAttributes ( const char *  key,
Aws::String &&  value 
)
inline

Matches attributes derived from the request.

Definition at line 553 of file SamplingRule.h.

◆ AddAttributes() [7/7]

SamplingRule& Aws::XRay::Model::SamplingRule::AddAttributes ( const char *  key,
const char *  value 
)
inline

Matches attributes derived from the request.

Definition at line 563 of file SamplingRule.h.

◆ AttributesHasBeenSet()

bool Aws::XRay::Model::SamplingRule::AttributesHasBeenSet ( ) const
inline

Matches attributes derived from the request.

Definition at line 508 of file SamplingRule.h.

◆ FixedRateHasBeenSet()

bool Aws::XRay::Model::SamplingRule::FixedRateHasBeenSet ( ) const
inline

The percentage of matching requests to instrument, after the reservoir is exhausted.

Definition at line 214 of file SamplingRule.h.

◆ GetAttributes()

const Aws::Map<Aws::String, Aws::String>& Aws::XRay::Model::SamplingRule::GetAttributes ( ) const
inline

Matches attributes derived from the request.

Definition at line 503 of file SamplingRule.h.

◆ GetFixedRate()

double Aws::XRay::Model::SamplingRule::GetFixedRate ( ) const
inline

The percentage of matching requests to instrument, after the reservoir is exhausted.

Definition at line 208 of file SamplingRule.h.

◆ GetHost()

const Aws::String& Aws::XRay::Model::SamplingRule::GetHost ( ) const
inline

Matches the hostname from a request URL.

Definition at line 359 of file SamplingRule.h.

◆ GetHTTPMethod()

const Aws::String& Aws::XRay::Model::SamplingRule::GetHTTPMethod ( ) const
inline

Matches the HTTP method of a request.

Definition at line 400 of file SamplingRule.h.

◆ GetPriority()

int Aws::XRay::Model::SamplingRule::GetPriority ( ) const
inline

The priority of the sampling rule.

Definition at line 186 of file SamplingRule.h.

◆ GetReservoirSize()

int Aws::XRay::Model::SamplingRule::GetReservoirSize ( ) const
inline

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

Definition at line 234 of file SamplingRule.h.

◆ GetResourceARN()

const Aws::String& Aws::XRay::Model::SamplingRule::GetResourceARN ( ) const
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 145 of file SamplingRule.h.

◆ GetRuleARN()

const Aws::String& Aws::XRay::Model::SamplingRule::GetRuleARN ( ) const
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 97 of file SamplingRule.h.

◆ GetRuleName()

const Aws::String& Aws::XRay::Model::SamplingRule::GetRuleName ( ) const
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 48 of file SamplingRule.h.

◆ GetServiceName()

const Aws::String& Aws::XRay::Model::SamplingRule::GetServiceName ( ) const
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 262 of file SamplingRule.h.

◆ GetServiceType()

const Aws::String& Aws::XRay::Model::SamplingRule::GetServiceType ( ) const
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 311 of file SamplingRule.h.

◆ GetURLPath()

const Aws::String& Aws::XRay::Model::SamplingRule::GetURLPath ( ) const
inline

Matches the path from a request URL.

Definition at line 441 of file SamplingRule.h.

◆ GetVersion()

int Aws::XRay::Model::SamplingRule::GetVersion ( ) const
inline

The version of the sampling rule format (1).

Definition at line 482 of file SamplingRule.h.

◆ HostHasBeenSet()

bool Aws::XRay::Model::SamplingRule::HostHasBeenSet ( ) const
inline

Matches the hostname from a request URL.

Definition at line 364 of file SamplingRule.h.

◆ HTTPMethodHasBeenSet()

bool Aws::XRay::Model::SamplingRule::HTTPMethodHasBeenSet ( ) const
inline

Matches the HTTP method of a request.

Definition at line 405 of file SamplingRule.h.

◆ Jsonize()

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

◆ operator=()

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

◆ PriorityHasBeenSet()

bool Aws::XRay::Model::SamplingRule::PriorityHasBeenSet ( ) const
inline

The priority of the sampling rule.

Definition at line 191 of file SamplingRule.h.

◆ ReservoirSizeHasBeenSet()

bool Aws::XRay::Model::SamplingRule::ReservoirSizeHasBeenSet ( ) const
inline

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

Definition at line 241 of file SamplingRule.h.

◆ ResourceARNHasBeenSet()

bool Aws::XRay::Model::SamplingRule::ResourceARNHasBeenSet ( ) const
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 150 of file SamplingRule.h.

◆ RuleARNHasBeenSet()

bool Aws::XRay::Model::SamplingRule::RuleARNHasBeenSet ( ) const
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 103 of file SamplingRule.h.

◆ RuleNameHasBeenSet()

bool Aws::XRay::Model::SamplingRule::RuleNameHasBeenSet ( ) const
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 54 of file SamplingRule.h.

◆ ServiceNameHasBeenSet()

bool Aws::XRay::Model::SamplingRule::ServiceNameHasBeenSet ( ) const
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 268 of file SamplingRule.h.

◆ ServiceTypeHasBeenSet()

bool Aws::XRay::Model::SamplingRule::ServiceTypeHasBeenSet ( ) const
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 317 of file SamplingRule.h.

◆ SetAttributes() [1/2]

void Aws::XRay::Model::SamplingRule::SetAttributes ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Matches attributes derived from the request.

Definition at line 518 of file SamplingRule.h.

◆ SetAttributes() [2/2]

void Aws::XRay::Model::SamplingRule::SetAttributes ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Matches attributes derived from the request.

Definition at line 513 of file SamplingRule.h.

◆ SetFixedRate()

void Aws::XRay::Model::SamplingRule::SetFixedRate ( double  value)
inline

The percentage of matching requests to instrument, after the reservoir is exhausted.

Definition at line 220 of file SamplingRule.h.

◆ SetHost() [1/3]

void Aws::XRay::Model::SamplingRule::SetHost ( Aws::String &&  value)
inline

Matches the hostname from a request URL.

Definition at line 374 of file SamplingRule.h.

◆ SetHost() [2/3]

void Aws::XRay::Model::SamplingRule::SetHost ( const Aws::String value)
inline

Matches the hostname from a request URL.

Definition at line 369 of file SamplingRule.h.

◆ SetHost() [3/3]

void Aws::XRay::Model::SamplingRule::SetHost ( const char *  value)
inline

Matches the hostname from a request URL.

Definition at line 379 of file SamplingRule.h.

◆ SetHTTPMethod() [1/3]

void Aws::XRay::Model::SamplingRule::SetHTTPMethod ( Aws::String &&  value)
inline

Matches the HTTP method of a request.

Definition at line 415 of file SamplingRule.h.

◆ SetHTTPMethod() [2/3]

void Aws::XRay::Model::SamplingRule::SetHTTPMethod ( const Aws::String value)
inline

Matches the HTTP method of a request.

Definition at line 410 of file SamplingRule.h.

◆ SetHTTPMethod() [3/3]

void Aws::XRay::Model::SamplingRule::SetHTTPMethod ( const char *  value)
inline

Matches the HTTP method of a request.

Definition at line 420 of file SamplingRule.h.

◆ SetPriority()

void Aws::XRay::Model::SamplingRule::SetPriority ( int  value)
inline

The priority of the sampling rule.

Definition at line 196 of file SamplingRule.h.

◆ SetReservoirSize()

void Aws::XRay::Model::SamplingRule::SetReservoirSize ( int  value)
inline

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

Definition at line 248 of file SamplingRule.h.

◆ SetResourceARN() [1/3]

void Aws::XRay::Model::SamplingRule::SetResourceARN ( Aws::String &&  value)
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 160 of file SamplingRule.h.

◆ SetResourceARN() [2/3]

void Aws::XRay::Model::SamplingRule::SetResourceARN ( const Aws::String value)
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 155 of file SamplingRule.h.

◆ SetResourceARN() [3/3]

void Aws::XRay::Model::SamplingRule::SetResourceARN ( const char *  value)
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 165 of file SamplingRule.h.

◆ SetRuleARN() [1/3]

void Aws::XRay::Model::SamplingRule::SetRuleARN ( Aws::String &&  value)
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 115 of file SamplingRule.h.

◆ SetRuleARN() [2/3]

void Aws::XRay::Model::SamplingRule::SetRuleARN ( const Aws::String value)
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 109 of file SamplingRule.h.

◆ SetRuleARN() [3/3]

void Aws::XRay::Model::SamplingRule::SetRuleARN ( const char *  value)
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 121 of file SamplingRule.h.

◆ SetRuleName() [1/3]

void Aws::XRay::Model::SamplingRule::SetRuleName ( Aws::String &&  value)
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 66 of file SamplingRule.h.

◆ SetRuleName() [2/3]

void Aws::XRay::Model::SamplingRule::SetRuleName ( const Aws::String value)
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 60 of file SamplingRule.h.

◆ SetRuleName() [3/3]

void Aws::XRay::Model::SamplingRule::SetRuleName ( const char *  value)
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 72 of file SamplingRule.h.

◆ SetServiceName() [1/3]

void Aws::XRay::Model::SamplingRule::SetServiceName ( Aws::String &&  value)
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 280 of file SamplingRule.h.

◆ SetServiceName() [2/3]

void Aws::XRay::Model::SamplingRule::SetServiceName ( const Aws::String value)
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 274 of file SamplingRule.h.

◆ SetServiceName() [3/3]

void Aws::XRay::Model::SamplingRule::SetServiceName ( const char *  value)
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 286 of file SamplingRule.h.

◆ SetServiceType() [1/3]

void Aws::XRay::Model::SamplingRule::SetServiceType ( Aws::String &&  value)
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 329 of file SamplingRule.h.

◆ SetServiceType() [2/3]

void Aws::XRay::Model::SamplingRule::SetServiceType ( const Aws::String value)
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 323 of file SamplingRule.h.

◆ SetServiceType() [3/3]

void Aws::XRay::Model::SamplingRule::SetServiceType ( const char *  value)
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 335 of file SamplingRule.h.

◆ SetURLPath() [1/3]

void Aws::XRay::Model::SamplingRule::SetURLPath ( Aws::String &&  value)
inline

Matches the path from a request URL.

Definition at line 456 of file SamplingRule.h.

◆ SetURLPath() [2/3]

void Aws::XRay::Model::SamplingRule::SetURLPath ( const Aws::String value)
inline

Matches the path from a request URL.

Definition at line 451 of file SamplingRule.h.

◆ SetURLPath() [3/3]

void Aws::XRay::Model::SamplingRule::SetURLPath ( const char *  value)
inline

Matches the path from a request URL.

Definition at line 461 of file SamplingRule.h.

◆ SetVersion()

void Aws::XRay::Model::SamplingRule::SetVersion ( int  value)
inline

The version of the sampling rule format (1).

Definition at line 492 of file SamplingRule.h.

◆ URLPathHasBeenSet()

bool Aws::XRay::Model::SamplingRule::URLPathHasBeenSet ( ) const
inline

Matches the path from a request URL.

Definition at line 446 of file SamplingRule.h.

◆ VersionHasBeenSet()

bool Aws::XRay::Model::SamplingRule::VersionHasBeenSet ( ) const
inline

The version of the sampling rule format (1).

Definition at line 487 of file SamplingRule.h.

◆ WithAttributes() [1/2]

SamplingRule& Aws::XRay::Model::SamplingRule::WithAttributes ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Matches attributes derived from the request.

Definition at line 528 of file SamplingRule.h.

◆ WithAttributes() [2/2]

SamplingRule& Aws::XRay::Model::SamplingRule::WithAttributes ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Matches attributes derived from the request.

Definition at line 523 of file SamplingRule.h.

◆ WithFixedRate()

SamplingRule& Aws::XRay::Model::SamplingRule::WithFixedRate ( double  value)
inline

The percentage of matching requests to instrument, after the reservoir is exhausted.

Definition at line 226 of file SamplingRule.h.

◆ WithHost() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithHost ( Aws::String &&  value)
inline

Matches the hostname from a request URL.

Definition at line 389 of file SamplingRule.h.

◆ WithHost() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithHost ( const Aws::String value)
inline

Matches the hostname from a request URL.

Definition at line 384 of file SamplingRule.h.

◆ WithHost() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithHost ( const char *  value)
inline

Matches the hostname from a request URL.

Definition at line 394 of file SamplingRule.h.

◆ WithHTTPMethod() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithHTTPMethod ( Aws::String &&  value)
inline

Matches the HTTP method of a request.

Definition at line 430 of file SamplingRule.h.

◆ WithHTTPMethod() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithHTTPMethod ( const Aws::String value)
inline

Matches the HTTP method of a request.

Definition at line 425 of file SamplingRule.h.

◆ WithHTTPMethod() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithHTTPMethod ( const char *  value)
inline

Matches the HTTP method of a request.

Definition at line 435 of file SamplingRule.h.

◆ WithPriority()

SamplingRule& Aws::XRay::Model::SamplingRule::WithPriority ( int  value)
inline

The priority of the sampling rule.

Definition at line 201 of file SamplingRule.h.

◆ WithReservoirSize()

SamplingRule& Aws::XRay::Model::SamplingRule::WithReservoirSize ( int  value)
inline

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

Definition at line 255 of file SamplingRule.h.

◆ WithResourceARN() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithResourceARN ( Aws::String &&  value)
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 175 of file SamplingRule.h.

◆ WithResourceARN() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithResourceARN ( const Aws::String value)
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 170 of file SamplingRule.h.

◆ WithResourceARN() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithResourceARN ( const char *  value)
inline

Matches the ARN of the AWS resource on which the service runs.

Definition at line 180 of file SamplingRule.h.

◆ WithRuleARN() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithRuleARN ( Aws::String &&  value)
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 133 of file SamplingRule.h.

◆ WithRuleARN() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithRuleARN ( const Aws::String value)
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 127 of file SamplingRule.h.

◆ WithRuleARN() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithRuleARN ( const char *  value)
inline

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 139 of file SamplingRule.h.

◆ WithRuleName() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithRuleName ( Aws::String &&  value)
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 84 of file SamplingRule.h.

◆ WithRuleName() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithRuleName ( const Aws::String value)
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 78 of file SamplingRule.h.

◆ WithRuleName() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithRuleName ( const char *  value)
inline

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Definition at line 90 of file SamplingRule.h.

◆ WithServiceName() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithServiceName ( Aws::String &&  value)
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 298 of file SamplingRule.h.

◆ WithServiceName() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithServiceName ( const Aws::String value)
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 292 of file SamplingRule.h.

◆ WithServiceName() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithServiceName ( const char *  value)
inline

Matches the name that the service uses to identify itself in segments.

Definition at line 304 of file SamplingRule.h.

◆ WithServiceType() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithServiceType ( Aws::String &&  value)
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 347 of file SamplingRule.h.

◆ WithServiceType() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithServiceType ( const Aws::String value)
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 341 of file SamplingRule.h.

◆ WithServiceType() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithServiceType ( const char *  value)
inline

Matches the origin that the service uses to identify its type in segments.

Definition at line 353 of file SamplingRule.h.

◆ WithURLPath() [1/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithURLPath ( Aws::String &&  value)
inline

Matches the path from a request URL.

Definition at line 471 of file SamplingRule.h.

◆ WithURLPath() [2/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithURLPath ( const Aws::String value)
inline

Matches the path from a request URL.

Definition at line 466 of file SamplingRule.h.

◆ WithURLPath() [3/3]

SamplingRule& Aws::XRay::Model::SamplingRule::WithURLPath ( const char *  value)
inline

Matches the path from a request URL.

Definition at line 476 of file SamplingRule.h.

◆ WithVersion()

SamplingRule& Aws::XRay::Model::SamplingRule::WithVersion ( int  value)
inline

The version of the sampling rule format (1).

Definition at line 497 of file SamplingRule.h.


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