AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisRulePolicyV1.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AnalysisRuleList.h>
9#include <aws/cleanrooms/model/AnalysisRuleAggregation.h>
10#include <aws/cleanrooms/model/AnalysisRuleCustom.h>
11#include <aws/cleanrooms/model/AnalysisRuleIdMappingTable.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLEANROOMS_API AnalysisRulePolicyV1();
39 AWS_CLEANROOMS_API AnalysisRulePolicyV1(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AnalysisRuleList& GetList() const{ return m_list; }
49 inline bool ListHasBeenSet() const { return m_listHasBeenSet; }
50 inline void SetList(const AnalysisRuleList& value) { m_listHasBeenSet = true; m_list = value; }
51 inline void SetList(AnalysisRuleList&& value) { m_listHasBeenSet = true; m_list = std::move(value); }
52 inline AnalysisRulePolicyV1& WithList(const AnalysisRuleList& value) { SetList(value); return *this;}
53 inline AnalysisRulePolicyV1& WithList(AnalysisRuleList&& value) { SetList(std::move(value)); return *this;}
55
57
61 inline const AnalysisRuleAggregation& GetAggregation() const{ return m_aggregation; }
62 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
63 inline void SetAggregation(const AnalysisRuleAggregation& value) { m_aggregationHasBeenSet = true; m_aggregation = value; }
64 inline void SetAggregation(AnalysisRuleAggregation&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); }
65 inline AnalysisRulePolicyV1& WithAggregation(const AnalysisRuleAggregation& value) { SetAggregation(value); return *this;}
66 inline AnalysisRulePolicyV1& WithAggregation(AnalysisRuleAggregation&& value) { SetAggregation(std::move(value)); return *this;}
68
70
73 inline const AnalysisRuleCustom& GetCustom() const{ return m_custom; }
74 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
75 inline void SetCustom(const AnalysisRuleCustom& value) { m_customHasBeenSet = true; m_custom = value; }
76 inline void SetCustom(AnalysisRuleCustom&& value) { m_customHasBeenSet = true; m_custom = std::move(value); }
77 inline AnalysisRulePolicyV1& WithCustom(const AnalysisRuleCustom& value) { SetCustom(value); return *this;}
78 inline AnalysisRulePolicyV1& WithCustom(AnalysisRuleCustom&& value) { SetCustom(std::move(value)); return *this;}
80
82
85 inline const AnalysisRuleIdMappingTable& GetIdMappingTable() const{ return m_idMappingTable; }
86 inline bool IdMappingTableHasBeenSet() const { return m_idMappingTableHasBeenSet; }
87 inline void SetIdMappingTable(const AnalysisRuleIdMappingTable& value) { m_idMappingTableHasBeenSet = true; m_idMappingTable = value; }
88 inline void SetIdMappingTable(AnalysisRuleIdMappingTable&& value) { m_idMappingTableHasBeenSet = true; m_idMappingTable = std::move(value); }
90 inline AnalysisRulePolicyV1& WithIdMappingTable(AnalysisRuleIdMappingTable&& value) { SetIdMappingTable(std::move(value)); return *this;}
92 private:
93
94 AnalysisRuleList m_list;
95 bool m_listHasBeenSet = false;
96
97 AnalysisRuleAggregation m_aggregation;
98 bool m_aggregationHasBeenSet = false;
99
100 AnalysisRuleCustom m_custom;
101 bool m_customHasBeenSet = false;
102
103 AnalysisRuleIdMappingTable m_idMappingTable;
104 bool m_idMappingTableHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CleanRooms
109} // namespace Aws
const AnalysisRuleIdMappingTable & GetIdMappingTable() const
void SetCustom(const AnalysisRuleCustom &value)
void SetAggregation(AnalysisRuleAggregation &&value)
void SetList(const AnalysisRuleList &value)
void SetAggregation(const AnalysisRuleAggregation &value)
AnalysisRulePolicyV1 & WithIdMappingTable(const AnalysisRuleIdMappingTable &value)
AWS_CLEANROOMS_API AnalysisRulePolicyV1(Aws::Utils::Json::JsonView jsonValue)
const AnalysisRuleCustom & GetCustom() const
AnalysisRulePolicyV1 & WithIdMappingTable(AnalysisRuleIdMappingTable &&value)
AnalysisRulePolicyV1 & WithAggregation(const AnalysisRuleAggregation &value)
AnalysisRulePolicyV1 & WithCustom(AnalysisRuleCustom &&value)
AWS_CLEANROOMS_API AnalysisRulePolicyV1 & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisRulePolicyV1 & WithAggregation(AnalysisRuleAggregation &&value)
AnalysisRulePolicyV1 & WithList(const AnalysisRuleList &value)
void SetIdMappingTable(const AnalysisRuleIdMappingTable &value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdMappingTable(AnalysisRuleIdMappingTable &&value)
AnalysisRulePolicyV1 & WithCustom(const AnalysisRuleCustom &value)
const AnalysisRuleAggregation & GetAggregation() const
AnalysisRulePolicyV1 & WithList(AnalysisRuleList &&value)
Aws::Utils::Json::JsonValue JsonValue