AWS SDK for C++  1.9.14
AWS SDK for C++
CreateRuleResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace FraudDetector
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Rule& GetRule() const{ return m_rule; }
39 
43  inline void SetRule(const Rule& value) { m_rule = value; }
44 
48  inline void SetRule(Rule&& value) { m_rule = std::move(value); }
49 
53  inline CreateRuleResult& WithRule(const Rule& value) { SetRule(value); return *this;}
54 
58  inline CreateRuleResult& WithRule(Rule&& value) { SetRule(std::move(value)); return *this;}
59 
60  private:
61 
62  Rule m_rule;
63  };
64 
65 } // namespace Model
66 } // namespace FraudDetector
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::CreateRuleResult::GetRule
const Rule & GetRule() const
Definition: CreateRuleResult.h:38
Aws::FraudDetector::Model::CreateRuleResult::operator=
CreateRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::CreateRuleResult
Definition: CreateRuleResult.h:28
Aws::FraudDetector::Model::CreateRuleResult::CreateRuleResult
CreateRuleResult()
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::CreateRuleResult::SetRule
void SetRule(const Rule &value)
Definition: CreateRuleResult.h:43
Aws::FraudDetector::Model::Rule
Definition: Rule.h:32
Rule.h
Aws::FraudDetector::Model::CreateRuleResult::SetRule
void SetRule(Rule &&value)
Definition: CreateRuleResult.h:48
Aws::FraudDetector::Model::CreateRuleResult::WithRule
CreateRuleResult & WithRule(const Rule &value)
Definition: CreateRuleResult.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::CreateRuleResult::WithRule
CreateRuleResult & WithRule(Rule &&value)
Definition: CreateRuleResult.h:58
Aws::FraudDetector::Model::CreateRuleResult::CreateRuleResult
CreateRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)