AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
RuleCondition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EntityResolution {
20namespace Model {
21
30 public:
31 AWS_ENTITYRESOLUTION_API RuleCondition() = default;
32 AWS_ENTITYRESOLUTION_API RuleCondition(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENTITYRESOLUTION_API RuleCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetRuleName() const { return m_ruleName; }
41 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
42 template <typename RuleNameT = Aws::String>
43 void SetRuleName(RuleNameT&& value) {
44 m_ruleNameHasBeenSet = true;
45 m_ruleName = std::forward<RuleNameT>(value);
46 }
47 template <typename RuleNameT = Aws::String>
48 RuleCondition& WithRuleName(RuleNameT&& value) {
49 SetRuleName(std::forward<RuleNameT>(value));
50 return *this;
51 }
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) {
69 m_conditionHasBeenSet = true;
70 m_condition = std::forward<ConditionT>(value);
71 }
72 template <typename ConditionT = Aws::String>
73 RuleCondition& WithCondition(ConditionT&& value) {
74 SetCondition(std::forward<ConditionT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_ruleName;
80
81 Aws::String m_condition;
82 bool m_ruleNameHasBeenSet = false;
83 bool m_conditionHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace EntityResolution
88} // 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