AWS SDK for C++

AWS SDK for C++ Version 1.11.677

Loading...
Searching...
No Matches
DeleteSamplingRuleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/xray/XRay_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace XRay {
15namespace Model {
16
20 public:
21 AWS_XRAY_API DeleteSamplingRuleRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteSamplingRule"; }
28
29 AWS_XRAY_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetRuleName() const { return m_ruleName; }
37 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
38 template <typename RuleNameT = Aws::String>
39 void SetRuleName(RuleNameT&& value) {
40 m_ruleNameHasBeenSet = true;
41 m_ruleName = std::forward<RuleNameT>(value);
42 }
43 template <typename RuleNameT = Aws::String>
45 SetRuleName(std::forward<RuleNameT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetRuleARN() const { return m_ruleARN; }
56 inline bool RuleARNHasBeenSet() const { return m_ruleARNHasBeenSet; }
57 template <typename RuleARNT = Aws::String>
58 void SetRuleARN(RuleARNT&& value) {
59 m_ruleARNHasBeenSet = true;
60 m_ruleARN = std::forward<RuleARNT>(value);
61 }
62 template <typename RuleARNT = Aws::String>
64 SetRuleARN(std::forward<RuleARNT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_ruleName;
70 bool m_ruleNameHasBeenSet = false;
71
72 Aws::String m_ruleARN;
73 bool m_ruleARNHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace XRay
78} // namespace Aws
AWS_XRAY_API DeleteSamplingRuleRequest()=default
AWS_XRAY_API Aws::String SerializePayload() const override
DeleteSamplingRuleRequest & WithRuleName(RuleNameT &&value)
virtual const char * GetServiceRequestName() const override
DeleteSamplingRuleRequest & WithRuleARN(RuleARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String