AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfiguredTableAnalysisRulePolicyV1.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRooms
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AnalysisRuleList& GetList() const{ return m_list; }
48 inline bool ListHasBeenSet() const { return m_listHasBeenSet; }
49 inline void SetList(const AnalysisRuleList& value) { m_listHasBeenSet = true; m_list = value; }
50 inline void SetList(AnalysisRuleList&& value) { m_listHasBeenSet = true; m_list = std::move(value); }
51 inline ConfiguredTableAnalysisRulePolicyV1& WithList(const AnalysisRuleList& value) { SetList(value); return *this;}
52 inline ConfiguredTableAnalysisRulePolicyV1& WithList(AnalysisRuleList&& value) { SetList(std::move(value)); return *this;}
54
56
60 inline const AnalysisRuleAggregation& GetAggregation() const{ return m_aggregation; }
61 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
62 inline void SetAggregation(const AnalysisRuleAggregation& value) { m_aggregationHasBeenSet = true; m_aggregation = value; }
63 inline void SetAggregation(AnalysisRuleAggregation&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); }
67
69
70 inline const AnalysisRuleCustom& GetCustom() const{ return m_custom; }
71 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
72 inline void SetCustom(const AnalysisRuleCustom& value) { m_customHasBeenSet = true; m_custom = value; }
73 inline void SetCustom(AnalysisRuleCustom&& value) { m_customHasBeenSet = true; m_custom = std::move(value); }
74 inline ConfiguredTableAnalysisRulePolicyV1& WithCustom(const AnalysisRuleCustom& value) { SetCustom(value); return *this;}
75 inline ConfiguredTableAnalysisRulePolicyV1& WithCustom(AnalysisRuleCustom&& value) { SetCustom(std::move(value)); return *this;}
77 private:
78
79 AnalysisRuleList m_list;
80 bool m_listHasBeenSet = false;
81
82 AnalysisRuleAggregation m_aggregation;
83 bool m_aggregationHasBeenSet = false;
84
85 AnalysisRuleCustom m_custom;
86 bool m_customHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CleanRooms
91} // namespace Aws
ConfiguredTableAnalysisRulePolicyV1 & WithList(AnalysisRuleList &&value)
ConfiguredTableAnalysisRulePolicyV1 & WithCustom(AnalysisRuleCustom &&value)
ConfiguredTableAnalysisRulePolicyV1 & WithAggregation(AnalysisRuleAggregation &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfiguredTableAnalysisRulePolicyV1 & WithList(const AnalysisRuleList &value)
ConfiguredTableAnalysisRulePolicyV1 & WithCustom(const AnalysisRuleCustom &value)
AWS_CLEANROOMS_API ConfiguredTableAnalysisRulePolicyV1(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTableAnalysisRulePolicyV1 & WithAggregation(const AnalysisRuleAggregation &value)
AWS_CLEANROOMS_API ConfiguredTableAnalysisRulePolicyV1 & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue