AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RuleConditionProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9#include <aws/entityresolution/model/RuleCondition.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EntityResolution {
21namespace Model {
22
30 public:
31 AWS_ENTITYRESOLUTION_API RuleConditionProperties() = default;
32 AWS_ENTITYRESOLUTION_API RuleConditionProperties(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENTITYRESOLUTION_API RuleConditionProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<RuleCondition>& GetRules() const { return m_rules; }
42 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
43 template <typename RulesT = Aws::Vector<RuleCondition>>
44 void SetRules(RulesT&& value) {
45 m_rulesHasBeenSet = true;
46 m_rules = std::forward<RulesT>(value);
47 }
48 template <typename RulesT = Aws::Vector<RuleCondition>>
50 SetRules(std::forward<RulesT>(value));
51 return *this;
52 }
53 template <typename RulesT = RuleCondition>
55 m_rulesHasBeenSet = true;
56 m_rules.emplace_back(std::forward<RulesT>(value));
57 return *this;
58 }
60 private:
62 bool m_rulesHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace EntityResolution
67} // 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