AWS SDK for C++  1.9.102
AWS SDK for C++
SamplingRule.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace XRay
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetRuleName() const{ return m_ruleName; }
49 
54  inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
55 
60  inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
61 
66  inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
67 
72  inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
73 
78  inline SamplingRule& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
79 
84  inline SamplingRule& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
85 
90  inline SamplingRule& WithRuleName(const char* value) { SetRuleName(value); return *this;}
91 
92 
97  inline const Aws::String& GetRuleARN() const{ return m_ruleARN; }
98 
103  inline bool RuleARNHasBeenSet() const { return m_ruleARNHasBeenSet; }
104 
109  inline void SetRuleARN(const Aws::String& value) { m_ruleARNHasBeenSet = true; m_ruleARN = value; }
110 
115  inline void SetRuleARN(Aws::String&& value) { m_ruleARNHasBeenSet = true; m_ruleARN = std::move(value); }
116 
121  inline void SetRuleARN(const char* value) { m_ruleARNHasBeenSet = true; m_ruleARN.assign(value); }
122 
127  inline SamplingRule& WithRuleARN(const Aws::String& value) { SetRuleARN(value); return *this;}
128 
133  inline SamplingRule& WithRuleARN(Aws::String&& value) { SetRuleARN(std::move(value)); return *this;}
134 
139  inline SamplingRule& WithRuleARN(const char* value) { SetRuleARN(value); return *this;}
140 
141 
146  inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
147 
152  inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
153 
158  inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
159 
164  inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
165 
170  inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
171 
176  inline SamplingRule& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
177 
182  inline SamplingRule& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
183 
188  inline SamplingRule& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
189 
190 
194  inline int GetPriority() const{ return m_priority; }
195 
199  inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
200 
204  inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
205 
209  inline SamplingRule& WithPriority(int value) { SetPriority(value); return *this;}
210 
211 
216  inline double GetFixedRate() const{ return m_fixedRate; }
217 
222  inline bool FixedRateHasBeenSet() const { return m_fixedRateHasBeenSet; }
223 
228  inline void SetFixedRate(double value) { m_fixedRateHasBeenSet = true; m_fixedRate = value; }
229 
234  inline SamplingRule& WithFixedRate(double value) { SetFixedRate(value); return *this;}
235 
236 
242  inline int GetReservoirSize() const{ return m_reservoirSize; }
243 
249  inline bool ReservoirSizeHasBeenSet() const { return m_reservoirSizeHasBeenSet; }
250 
256  inline void SetReservoirSize(int value) { m_reservoirSizeHasBeenSet = true; m_reservoirSize = value; }
257 
263  inline SamplingRule& WithReservoirSize(int value) { SetReservoirSize(value); return *this;}
264 
265 
270  inline const Aws::String& GetServiceName() const{ return m_serviceName; }
271 
276  inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
277 
282  inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
283 
288  inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
289 
294  inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
295 
300  inline SamplingRule& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
301 
306  inline SamplingRule& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
307 
312  inline SamplingRule& WithServiceName(const char* value) { SetServiceName(value); return *this;}
313 
314 
319  inline const Aws::String& GetServiceType() const{ return m_serviceType; }
320 
325  inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
326 
331  inline void SetServiceType(const Aws::String& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
332 
337  inline void SetServiceType(Aws::String&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
338 
343  inline void SetServiceType(const char* value) { m_serviceTypeHasBeenSet = true; m_serviceType.assign(value); }
344 
349  inline SamplingRule& WithServiceType(const Aws::String& value) { SetServiceType(value); return *this;}
350 
355  inline SamplingRule& WithServiceType(Aws::String&& value) { SetServiceType(std::move(value)); return *this;}
356 
361  inline SamplingRule& WithServiceType(const char* value) { SetServiceType(value); return *this;}
362 
363 
367  inline const Aws::String& GetHost() const{ return m_host; }
368 
372  inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
373 
377  inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
378 
382  inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
383 
387  inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
388 
392  inline SamplingRule& WithHost(const Aws::String& value) { SetHost(value); return *this;}
393 
397  inline SamplingRule& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
398 
402  inline SamplingRule& WithHost(const char* value) { SetHost(value); return *this;}
403 
404 
408  inline const Aws::String& GetHTTPMethod() const{ return m_hTTPMethod; }
409 
413  inline bool HTTPMethodHasBeenSet() const { return m_hTTPMethodHasBeenSet; }
414 
418  inline void SetHTTPMethod(const Aws::String& value) { m_hTTPMethodHasBeenSet = true; m_hTTPMethod = value; }
419 
423  inline void SetHTTPMethod(Aws::String&& value) { m_hTTPMethodHasBeenSet = true; m_hTTPMethod = std::move(value); }
424 
428  inline void SetHTTPMethod(const char* value) { m_hTTPMethodHasBeenSet = true; m_hTTPMethod.assign(value); }
429 
433  inline SamplingRule& WithHTTPMethod(const Aws::String& value) { SetHTTPMethod(value); return *this;}
434 
438  inline SamplingRule& WithHTTPMethod(Aws::String&& value) { SetHTTPMethod(std::move(value)); return *this;}
439 
443  inline SamplingRule& WithHTTPMethod(const char* value) { SetHTTPMethod(value); return *this;}
444 
445 
449  inline const Aws::String& GetURLPath() const{ return m_uRLPath; }
450 
454  inline bool URLPathHasBeenSet() const { return m_uRLPathHasBeenSet; }
455 
459  inline void SetURLPath(const Aws::String& value) { m_uRLPathHasBeenSet = true; m_uRLPath = value; }
460 
464  inline void SetURLPath(Aws::String&& value) { m_uRLPathHasBeenSet = true; m_uRLPath = std::move(value); }
465 
469  inline void SetURLPath(const char* value) { m_uRLPathHasBeenSet = true; m_uRLPath.assign(value); }
470 
474  inline SamplingRule& WithURLPath(const Aws::String& value) { SetURLPath(value); return *this;}
475 
479  inline SamplingRule& WithURLPath(Aws::String&& value) { SetURLPath(std::move(value)); return *this;}
480 
484  inline SamplingRule& WithURLPath(const char* value) { SetURLPath(value); return *this;}
485 
486 
490  inline int GetVersion() const{ return m_version; }
491 
495  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
496 
500  inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
501 
505  inline SamplingRule& WithVersion(int value) { SetVersion(value); return *this;}
506 
507 
511  inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
512 
516  inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
517 
521  inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
522 
526  inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
527 
531  inline SamplingRule& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
532 
536  inline SamplingRule& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
537 
541  inline SamplingRule& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
542 
546  inline SamplingRule& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
547 
551  inline SamplingRule& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
552 
556  inline SamplingRule& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
557 
561  inline SamplingRule& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
562 
566  inline SamplingRule& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
567 
571  inline SamplingRule& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
572 
573  private:
574 
575  Aws::String m_ruleName;
576  bool m_ruleNameHasBeenSet;
577 
578  Aws::String m_ruleARN;
579  bool m_ruleARNHasBeenSet;
580 
581  Aws::String m_resourceARN;
582  bool m_resourceARNHasBeenSet;
583 
584  int m_priority;
585  bool m_priorityHasBeenSet;
586 
587  double m_fixedRate;
588  bool m_fixedRateHasBeenSet;
589 
590  int m_reservoirSize;
591  bool m_reservoirSizeHasBeenSet;
592 
593  Aws::String m_serviceName;
594  bool m_serviceNameHasBeenSet;
595 
596  Aws::String m_serviceType;
597  bool m_serviceTypeHasBeenSet;
598 
599  Aws::String m_host;
600  bool m_hostHasBeenSet;
601 
602  Aws::String m_hTTPMethod;
603  bool m_hTTPMethodHasBeenSet;
604 
605  Aws::String m_uRLPath;
606  bool m_uRLPathHasBeenSet;
607 
608  int m_version;
609  bool m_versionHasBeenSet;
610 
612  bool m_attributesHasBeenSet;
613  };
614 
615 } // namespace Model
616 } // namespace XRay
617 } // namespace Aws
Aws::XRay::Model::SamplingRule::SetServiceName
void SetServiceName(const Aws::String &value)
Definition: SamplingRule.h:282
Aws::XRay::Model::SamplingRule::WithRuleName
SamplingRule & WithRuleName(const Aws::String &value)
Definition: SamplingRule.h:78
Aws::XRay::Model::SamplingRule::SetRuleARN
void SetRuleARN(const char *value)
Definition: SamplingRule.h:121
Aws::XRay::Model::SamplingRule::SetHTTPMethod
void SetHTTPMethod(const Aws::String &value)
Definition: SamplingRule.h:418
Aws::XRay::Model::SamplingRule::AddAttributes
SamplingRule & AddAttributes(Aws::String &&key, const char *value)
Definition: SamplingRule.h:566
Aws::XRay::Model::SamplingRule::SetURLPath
void SetURLPath(const char *value)
Definition: SamplingRule.h:469
Aws::XRay::Model::SamplingRule::SetHost
void SetHost(const char *value)
Definition: SamplingRule.h:387
Aws::XRay::Model::SamplingRule::GetResourceARN
const Aws::String & GetResourceARN() const
Definition: SamplingRule.h:146
Aws::XRay::Model::SamplingRule::GetURLPath
const Aws::String & GetURLPath() const
Definition: SamplingRule.h:449
Aws::XRay::Model::SamplingRule::WithAttributes
SamplingRule & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SamplingRule.h:531
Aws::XRay::Model::SamplingRule::WithRuleName
SamplingRule & WithRuleName(const char *value)
Definition: SamplingRule.h:90
Aws::XRay::Model::SamplingRule::GetFixedRate
double GetFixedRate() const
Definition: SamplingRule.h:216
Aws::XRay::Model::SamplingRule::WithReservoirSize
SamplingRule & WithReservoirSize(int value)
Definition: SamplingRule.h:263
Aws::XRay::Model::SamplingRule::WithResourceARN
SamplingRule & WithResourceARN(const char *value)
Definition: SamplingRule.h:188
Aws::XRay::Model::SamplingRule::WithHTTPMethod
SamplingRule & WithHTTPMethod(const char *value)
Definition: SamplingRule.h:443
Aws::XRay::Model::SamplingRule::SetHost
void SetHost(const Aws::String &value)
Definition: SamplingRule.h:377
Aws::XRay::Model::SamplingRule::PriorityHasBeenSet
bool PriorityHasBeenSet() const
Definition: SamplingRule.h:199
Aws::XRay::Model::SamplingRule::RuleNameHasBeenSet
bool RuleNameHasBeenSet() const
Definition: SamplingRule.h:54
Aws::XRay::Model::SamplingRule::AttributesHasBeenSet
bool AttributesHasBeenSet() const
Definition: SamplingRule.h:516
Aws::XRay::Model::SamplingRule::GetServiceName
const Aws::String & GetServiceName() const
Definition: SamplingRule.h:270
Aws::XRay::Model::SamplingRule::SetPriority
void SetPriority(int value)
Definition: SamplingRule.h:204
Aws::XRay::Model::SamplingRule::ReservoirSizeHasBeenSet
bool ReservoirSizeHasBeenSet() const
Definition: SamplingRule.h:249
Aws::XRay::Model::SamplingRule::HTTPMethodHasBeenSet
bool HTTPMethodHasBeenSet() const
Definition: SamplingRule.h:413
Aws::XRay::Model::SamplingRule::WithRuleName
SamplingRule & WithRuleName(Aws::String &&value)
Definition: SamplingRule.h:84
Aws::XRay::Model::SamplingRule::WithVersion
SamplingRule & WithVersion(int value)
Definition: SamplingRule.h:505
Aws::XRay::Model::SamplingRule::ServiceTypeHasBeenSet
bool ServiceTypeHasBeenSet() const
Definition: SamplingRule.h:325
Aws::XRay::Model::SamplingRule::SetVersion
void SetVersion(int value)
Definition: SamplingRule.h:500
Aws::XRay::Model::SamplingRule::WithHost
SamplingRule & WithHost(const char *value)
Definition: SamplingRule.h:402
Aws::XRay::Model::SamplingRule::WithResourceARN
SamplingRule & WithResourceARN(const Aws::String &value)
Definition: SamplingRule.h:176
Aws::XRay::Model::SamplingRule::SamplingRule
SamplingRule()
Aws::XRay::Model::SamplingRule::WithHost
SamplingRule & WithHost(const Aws::String &value)
Definition: SamplingRule.h:392
Aws::XRay::Model::SamplingRule::SetURLPath
void SetURLPath(const Aws::String &value)
Definition: SamplingRule.h:459
Aws::XRay::Model::SamplingRule::SetResourceARN
void SetResourceARN(const Aws::String &value)
Definition: SamplingRule.h:158
Aws::XRay::Model::SamplingRule::WithURLPath
SamplingRule & WithURLPath(Aws::String &&value)
Definition: SamplingRule.h:479
Aws::XRay::Model::SamplingRule::SetRuleARN
void SetRuleARN(const Aws::String &value)
Definition: SamplingRule.h:109
Aws::XRay::Model::SamplingRule::WithRuleARN
SamplingRule & WithRuleARN(const Aws::String &value)
Definition: SamplingRule.h:127
Aws::XRay::Model::SamplingRule::GetRuleARN
const Aws::String & GetRuleARN() const
Definition: SamplingRule.h:97
Aws::XRay::Model::SamplingRule::WithPriority
SamplingRule & WithPriority(int value)
Definition: SamplingRule.h:209
Aws::XRay::Model::SamplingRule::SetHost
void SetHost(Aws::String &&value)
Definition: SamplingRule.h:382
Aws::XRay::Model::SamplingRule::SetRuleName
void SetRuleName(Aws::String &&value)
Definition: SamplingRule.h:66
Aws::XRay::Model::SamplingRule::SetResourceARN
void SetResourceARN(const char *value)
Definition: SamplingRule.h:170
Aws::XRay::Model::SamplingRule::HostHasBeenSet
bool HostHasBeenSet() const
Definition: SamplingRule.h:372
Aws::XRay::Model::SamplingRule::ResourceARNHasBeenSet
bool ResourceARNHasBeenSet() const
Definition: SamplingRule.h:152
Aws::XRay::Model::SamplingRule::SetReservoirSize
void SetReservoirSize(int value)
Definition: SamplingRule.h:256
Aws::XRay::Model::SamplingRule::SetResourceARN
void SetResourceARN(Aws::String &&value)
Definition: SamplingRule.h:164
Aws::XRay::Model::SamplingRule::SetHTTPMethod
void SetHTTPMethod(const char *value)
Definition: SamplingRule.h:428
Aws::XRay::Model::SamplingRule::URLPathHasBeenSet
bool URLPathHasBeenSet() const
Definition: SamplingRule.h:454
Aws::XRay::Model::SamplingRule::WithFixedRate
SamplingRule & WithFixedRate(double value)
Definition: SamplingRule.h:234
Aws::XRay::Model::SamplingRule::WithResourceARN
SamplingRule & WithResourceARN(Aws::String &&value)
Definition: SamplingRule.h:182
Aws::XRay::Model::SamplingRule::WithRuleARN
SamplingRule & WithRuleARN(Aws::String &&value)
Definition: SamplingRule.h:133
Aws::XRay::Model::SamplingRule::SetServiceName
void SetServiceName(const char *value)
Definition: SamplingRule.h:294
Aws::XRay::Model::SamplingRule::GetVersion
int GetVersion() const
Definition: SamplingRule.h:490
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
XRay_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::XRay::Model::SamplingRule::WithURLPath
SamplingRule & WithURLPath(const Aws::String &value)
Definition: SamplingRule.h:474
Aws::XRay::Model::SamplingRule::WithURLPath
SamplingRule & WithURLPath(const char *value)
Definition: SamplingRule.h:484
Aws::XRay::Model::SamplingRule::AddAttributes
SamplingRule & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition: SamplingRule.h:546
Aws::XRay::Model::SamplingRule::AddAttributes
SamplingRule & AddAttributes(const char *key, Aws::String &&value)
Definition: SamplingRule.h:561
Aws::XRay::Model::SamplingRule::SetServiceType
void SetServiceType(const char *value)
Definition: SamplingRule.h:343
Aws::XRay::Model::SamplingRule::SetServiceType
void SetServiceType(const Aws::String &value)
Definition: SamplingRule.h:331
Aws::XRay::Model::SamplingRule::AddAttributes
SamplingRule & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition: SamplingRule.h:556
Aws::XRay::Model::SamplingRule::ServiceNameHasBeenSet
bool ServiceNameHasBeenSet() const
Definition: SamplingRule.h:276
Aws::XRay::Model::SamplingRule::AddAttributes
SamplingRule & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition: SamplingRule.h:551
Aws::XRay::Model::SamplingRule::SetServiceType
void SetServiceType(Aws::String &&value)
Definition: SamplingRule.h:337
Aws::XRay::Model::SamplingRule::FixedRateHasBeenSet
bool FixedRateHasBeenSet() const
Definition: SamplingRule.h:222
Aws::XRay::Model::SamplingRule::AddAttributes
SamplingRule & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition: SamplingRule.h:541
Aws::XRay::Model::SamplingRule::SetRuleARN
void SetRuleARN(Aws::String &&value)
Definition: SamplingRule.h:115
Aws::XRay::Model::SamplingRule::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::XRay::Model::SamplingRule::GetAttributes
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition: SamplingRule.h:511
Aws::XRay::Model::SamplingRule::WithServiceName
SamplingRule & WithServiceName(Aws::String &&value)
Definition: SamplingRule.h:306
Aws::XRay::Model::SamplingRule::SetURLPath
void SetURLPath(Aws::String &&value)
Definition: SamplingRule.h:464
Aws::XRay::Model::SamplingRule::SetRuleName
void SetRuleName(const Aws::String &value)
Definition: SamplingRule.h:60
Aws::XRay::Model::SamplingRule::WithServiceType
SamplingRule & WithServiceType(Aws::String &&value)
Definition: SamplingRule.h:355
Aws::XRay::Model::SamplingRule::WithHTTPMethod
SamplingRule & WithHTTPMethod(Aws::String &&value)
Definition: SamplingRule.h:438
Aws::XRay::Model::SamplingRule::WithServiceName
SamplingRule & WithServiceName(const char *value)
Definition: SamplingRule.h:312
Aws::XRay::Model::SamplingRule::GetPriority
int GetPriority() const
Definition: SamplingRule.h:194
Aws::XRay::Model::SamplingRule::GetRuleName
const Aws::String & GetRuleName() const
Definition: SamplingRule.h:48
AWS_XRAY_API
#define AWS_XRAY_API
Definition: XRay_EXPORTS.h:28
Aws::XRay::Model::SamplingRule::GetServiceType
const Aws::String & GetServiceType() const
Definition: SamplingRule.h:319
Aws
Definition: AccessManagementClient.h:15
Aws::XRay::Model::SamplingRule::RuleARNHasBeenSet
bool RuleARNHasBeenSet() const
Definition: SamplingRule.h:103
Aws::XRay::Model::SamplingRule::GetHost
const Aws::String & GetHost() const
Definition: SamplingRule.h:367
Aws::XRay::Model::SamplingRule::WithRuleARN
SamplingRule & WithRuleARN(const char *value)
Definition: SamplingRule.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::XRay::Model::SamplingRule::SetAttributes
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SamplingRule.h:521
Aws::XRay::Model::SamplingRule
Definition: SamplingRule.h:36
Aws::XRay::Model::SamplingRule::WithAttributes
SamplingRule & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SamplingRule.h:536
Aws::XRay::Model::SamplingRule::SetServiceName
void SetServiceName(Aws::String &&value)
Definition: SamplingRule.h:288
Aws::XRay::Model::SamplingRule::SetHTTPMethod
void SetHTTPMethod(Aws::String &&value)
Definition: SamplingRule.h:423
Aws::XRay::Model::SamplingRule::GetHTTPMethod
const Aws::String & GetHTTPMethod() const
Definition: SamplingRule.h:408
Aws::XRay::Model::SamplingRule::SetAttributes
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SamplingRule.h:526
Aws::XRay::Model::SamplingRule::WithServiceType
SamplingRule & WithServiceType(const char *value)
Definition: SamplingRule.h:361
Aws::XRay::Model::SamplingRule::AddAttributes
SamplingRule & AddAttributes(const char *key, const char *value)
Definition: SamplingRule.h:571
Aws::XRay::Model::SamplingRule::WithHTTPMethod
SamplingRule & WithHTTPMethod(const Aws::String &value)
Definition: SamplingRule.h:433
AWSMap.h
Aws::XRay::Model::SamplingRule::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: SamplingRule.h:495
Aws::XRay::Model::SamplingRule::operator=
SamplingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::XRay::Model::SamplingRule::SetFixedRate
void SetFixedRate(double value)
Definition: SamplingRule.h:228
Aws::XRay::Model::SamplingRule::GetReservoirSize
int GetReservoirSize() const
Definition: SamplingRule.h:242
Aws::XRay::Model::SamplingRule::WithServiceType
SamplingRule & WithServiceType(const Aws::String &value)
Definition: SamplingRule.h:349
Aws::XRay::Model::SamplingRule::WithServiceName
SamplingRule & WithServiceName(const Aws::String &value)
Definition: SamplingRule.h:300
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::XRay::Model::SamplingRule::SetRuleName
void SetRuleName(const char *value)
Definition: SamplingRule.h:72
Aws::XRay::Model::SamplingRule::WithHost
SamplingRule & WithHost(Aws::String &&value)
Definition: SamplingRule.h:397
Aws::XRay::Model::SamplingRule::SamplingRule
SamplingRule(Aws::Utils::Json::JsonView jsonValue)