AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
RuleConditionProperties.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/model/RuleCondition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EntityResolution
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ENTITYRESOLUTION_API RuleConditionProperties() = default;
37 AWS_ENTITYRESOLUTION_API RuleConditionProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ENTITYRESOLUTION_API RuleConditionProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<RuleCondition>& GetRules() const { return m_rules; }
48 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
49 template<typename RulesT = Aws::Vector<RuleCondition>>
50 void SetRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules = std::forward<RulesT>(value); }
51 template<typename RulesT = Aws::Vector<RuleCondition>>
52 RuleConditionProperties& WithRules(RulesT&& value) { SetRules(std::forward<RulesT>(value)); return *this;}
53 template<typename RulesT = RuleCondition>
54 RuleConditionProperties& AddRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules.emplace_back(std::forward<RulesT>(value)); return *this; }
56 private:
57
59 bool m_rulesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace EntityResolution
64} // namespace Aws
RuleConditionProperties & AddRules(RulesT &&value)
const Aws::Vector< RuleCondition > & GetRules() const
AWS_ENTITYRESOLUTION_API RuleConditionProperties()=default
AWS_ENTITYRESOLUTION_API RuleConditionProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API RuleConditionProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
RuleConditionProperties & WithRules(RulesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue