AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RuleT = Rule>
45 void SetRule(RuleT&& value) { m_ruleHasBeenSet = true; m_rule = std::forward<RuleT>(value); }
46 template<typename RuleT = Rule>
47 UpdateRuleMetadataRequest& WithRule(RuleT&& value) { SetRule(std::forward<RuleT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 UpdateRuleMetadataRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61 private:
62
63 Rule m_rule;
64 bool m_ruleHasBeenSet = false;
65
66 Aws::String m_description;
67 bool m_descriptionHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace FraudDetector
72} // namespace Aws
UpdateRuleMetadataRequest & WithDescription(DescriptionT &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
AWS_FRAUDDETECTOR_API UpdateRuleMetadataRequest()=default
virtual const char * GetServiceRequestName() const override
UpdateRuleMetadataRequest & WithRule(RuleT &&value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String