AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConsolidatedPolicyV1.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ConsolidatedPolicyList.h>
9#include <aws/cleanrooms/model/ConsolidatedPolicyAggregation.h>
10#include <aws/cleanrooms/model/ConsolidatedPolicyCustom.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:
37 AWS_CLEANROOMS_API ConsolidatedPolicyV1() = default;
38 AWS_CLEANROOMS_API ConsolidatedPolicyV1(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ConsolidatedPolicyList& GetList() const { return m_list; }
48 inline bool ListHasBeenSet() const { return m_listHasBeenSet; }
49 template<typename ListT = ConsolidatedPolicyList>
50 void SetList(ListT&& value) { m_listHasBeenSet = true; m_list = std::forward<ListT>(value); }
51 template<typename ListT = ConsolidatedPolicyList>
52 ConsolidatedPolicyV1& WithList(ListT&& value) { SetList(std::forward<ListT>(value)); return *this;}
54
56
59 inline const ConsolidatedPolicyAggregation& GetAggregation() const { return m_aggregation; }
60 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
61 template<typename AggregationT = ConsolidatedPolicyAggregation>
62 void SetAggregation(AggregationT&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::forward<AggregationT>(value); }
63 template<typename AggregationT = ConsolidatedPolicyAggregation>
64 ConsolidatedPolicyV1& WithAggregation(AggregationT&& value) { SetAggregation(std::forward<AggregationT>(value)); return *this;}
66
68
71 inline const ConsolidatedPolicyCustom& GetCustom() const { return m_custom; }
72 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
73 template<typename CustomT = ConsolidatedPolicyCustom>
74 void SetCustom(CustomT&& value) { m_customHasBeenSet = true; m_custom = std::forward<CustomT>(value); }
75 template<typename CustomT = ConsolidatedPolicyCustom>
76 ConsolidatedPolicyV1& WithCustom(CustomT&& value) { SetCustom(std::forward<CustomT>(value)); return *this;}
78 private:
79
81 bool m_listHasBeenSet = false;
82
84 bool m_aggregationHasBeenSet = false;
85
87 bool m_customHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CleanRooms
92} // namespace Aws
AWS_CLEANROOMS_API ConsolidatedPolicyV1 & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConsolidatedPolicyCustom & GetCustom() const
ConsolidatedPolicyV1 & WithList(ListT &&value)
AWS_CLEANROOMS_API ConsolidatedPolicyV1()=default
ConsolidatedPolicyV1 & WithCustom(CustomT &&value)
ConsolidatedPolicyV1 & WithAggregation(AggregationT &&value)
const ConsolidatedPolicyList & GetList() const
const ConsolidatedPolicyAggregation & GetAggregation() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API ConsolidatedPolicyV1(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue