AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRuleMetadataRequest.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/frauddetector/model/Rule.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace FraudDetector
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_FRAUDDETECTOR_API UpdateRuleMetadataRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateRuleMetadata"; }
32
33 AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
34
35 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Rule& GetRule() const{ return m_rule; }
43 inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; }
44 inline void SetRule(const Rule& value) { m_ruleHasBeenSet = true; m_rule = value; }
45 inline void SetRule(Rule&& value) { m_ruleHasBeenSet = true; m_rule = std::move(value); }
46 inline UpdateRuleMetadataRequest& WithRule(const Rule& value) { SetRule(value); return *this;}
47 inline UpdateRuleMetadataRequest& WithRule(Rule&& value) { SetRule(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline UpdateRuleMetadataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline UpdateRuleMetadataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline UpdateRuleMetadataRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63 private:
64
65 Rule m_rule;
66 bool m_ruleHasBeenSet = false;
67
68 Aws::String m_description;
69 bool m_descriptionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace FraudDetector
74} // namespace Aws
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
UpdateRuleMetadataRequest & WithRule(const Rule &value)
virtual const char * GetServiceRequestName() const override
UpdateRuleMetadataRequest & WithDescription(Aws::String &&value)
UpdateRuleMetadataRequest & WithDescription(const char *value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRuleMetadataRequest & WithDescription(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String