AWS SDK for C++  1.9.71
AWS SDK for C++
DeleteRuleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace FraudDetector
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteRule"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
37 
38  inline const Rule& GetRule() const{ return m_rule; }
39 
40 
41  inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; }
42 
43 
44  inline void SetRule(const Rule& value) { m_ruleHasBeenSet = true; m_rule = value; }
45 
46 
47  inline void SetRule(Rule&& value) { m_ruleHasBeenSet = true; m_rule = std::move(value); }
48 
49 
50  inline DeleteRuleRequest& WithRule(const Rule& value) { SetRule(value); return *this;}
51 
52 
53  inline DeleteRuleRequest& WithRule(Rule&& value) { SetRule(std::move(value)); return *this;}
54 
55  private:
56 
57  Rule m_rule;
58  bool m_ruleHasBeenSet;
59  };
60 
61 } // namespace Model
62 } // namespace FraudDetector
63 } // namespace Aws
FraudDetectorRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DeleteRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRuleRequest.h:30
Aws::FraudDetector::Model::DeleteRuleRequest::SetRule
void SetRule(Rule &&value)
Definition: DeleteRuleRequest.h:47
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::DeleteRuleRequest::RuleHasBeenSet
bool RuleHasBeenSet() const
Definition: DeleteRuleRequest.h:41
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::DeleteRuleRequest::DeleteRuleRequest
DeleteRuleRequest()
Aws::FraudDetector::Model::DeleteRuleRequest
Definition: DeleteRuleRequest.h:22
Aws::FraudDetector::Model::Rule
Definition: Rule.h:32
Aws::FraudDetector::Model::DeleteRuleRequest::GetRule
const Rule & GetRule() const
Definition: DeleteRuleRequest.h:38
Rule.h
Aws::FraudDetector::Model::DeleteRuleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::DeleteRuleRequest::SetRule
void SetRule(const Rule &value)
Definition: DeleteRuleRequest.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::DeleteRuleRequest::WithRule
DeleteRuleRequest & WithRule(Rule &&value)
Definition: DeleteRuleRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::DeleteRuleRequest::WithRule
DeleteRuleRequest & WithRule(const Rule &value)
Definition: DeleteRuleRequest.h:50
Aws::FraudDetector::Model::DeleteRuleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override