AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
RuleCondition.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EntityResolution
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ENTITYRESOLUTION_API RuleCondition() = default;
37 AWS_ENTITYRESOLUTION_API RuleCondition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ENTITYRESOLUTION_API RuleCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRuleName() const { return m_ruleName; }
47 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
48 template<typename RuleNameT = Aws::String>
49 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::forward<RuleNameT>(value); }
50 template<typename RuleNameT = Aws::String>
51 RuleCondition& WithRuleName(RuleNameT&& value) { SetRuleName(std::forward<RuleNameT>(value)); return *this;}
53
55
65 inline const Aws::String& GetCondition() const { return m_condition; }
66 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
67 template<typename ConditionT = Aws::String>
68 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet = true; m_condition = std::forward<ConditionT>(value); }
69 template<typename ConditionT = Aws::String>
70 RuleCondition& WithCondition(ConditionT&& value) { SetCondition(std::forward<ConditionT>(value)); return *this;}
72 private:
73
74 Aws::String m_ruleName;
75 bool m_ruleNameHasBeenSet = false;
76
77 Aws::String m_condition;
78 bool m_conditionHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace EntityResolution
83} // namespace Aws
AWS_ENTITYRESOLUTION_API RuleCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API RuleCondition()=default
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRuleName() const
const Aws::String & GetCondition() const
AWS_ENTITYRESOLUTION_API RuleCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleCondition & WithRuleName(RuleNameT &&value)
RuleCondition & WithCondition(ConditionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue