/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Controls on the query specifications that can be run on a configured
* table.See Also:
AWS
* API Reference
Analysis rule type that enables only list queries on a configured table.
*/ inline const AnalysisRuleList& GetList() const{ return m_list; } /** *Analysis rule type that enables only list queries on a configured table.
*/ inline bool ListHasBeenSet() const { return m_listHasBeenSet; } /** *Analysis rule type that enables only list queries on a configured table.
*/ inline void SetList(const AnalysisRuleList& value) { m_listHasBeenSet = true; m_list = value; } /** *Analysis rule type that enables only list queries on a configured table.
*/ inline void SetList(AnalysisRuleList&& value) { m_listHasBeenSet = true; m_list = std::move(value); } /** *Analysis rule type that enables only list queries on a configured table.
*/ inline ConfiguredTableAnalysisRulePolicyV1& WithList(const AnalysisRuleList& value) { SetList(value); return *this;} /** *Analysis rule type that enables only list queries on a configured table.
*/ inline ConfiguredTableAnalysisRulePolicyV1& WithList(AnalysisRuleList&& value) { SetList(std::move(value)); return *this;} /** *Analysis rule type that enables only aggregation queries on a configured * table.
*/ inline const AnalysisRuleAggregation& GetAggregation() const{ return m_aggregation; } /** *Analysis rule type that enables only aggregation queries on a configured * table.
*/ inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; } /** *Analysis rule type that enables only aggregation queries on a configured * table.
*/ inline void SetAggregation(const AnalysisRuleAggregation& value) { m_aggregationHasBeenSet = true; m_aggregation = value; } /** *Analysis rule type that enables only aggregation queries on a configured * table.
*/ inline void SetAggregation(AnalysisRuleAggregation&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); } /** *Analysis rule type that enables only aggregation queries on a configured * table.
*/ inline ConfiguredTableAnalysisRulePolicyV1& WithAggregation(const AnalysisRuleAggregation& value) { SetAggregation(value); return *this;} /** *Analysis rule type that enables only aggregation queries on a configured * table.
*/ inline ConfiguredTableAnalysisRulePolicyV1& WithAggregation(AnalysisRuleAggregation&& value) { SetAggregation(std::move(value)); return *this;} private: AnalysisRuleList m_list; bool m_listHasBeenSet = false; AnalysisRuleAggregation m_aggregation; bool m_aggregationHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws