/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A configured table analysis rule, which limits how data for this table can be
* used.See Also:
AWS
* API Reference
The unique ID for the configured table.
*/ inline const Aws::String& GetConfiguredTableId() const{ return m_configuredTableId; } /** *The unique ID for the configured table.
*/ inline bool ConfiguredTableIdHasBeenSet() const { return m_configuredTableIdHasBeenSet; } /** *The unique ID for the configured table.
*/ inline void SetConfiguredTableId(const Aws::String& value) { m_configuredTableIdHasBeenSet = true; m_configuredTableId = value; } /** *The unique ID for the configured table.
*/ inline void SetConfiguredTableId(Aws::String&& value) { m_configuredTableIdHasBeenSet = true; m_configuredTableId = std::move(value); } /** *The unique ID for the configured table.
*/ inline void SetConfiguredTableId(const char* value) { m_configuredTableIdHasBeenSet = true; m_configuredTableId.assign(value); } /** *The unique ID for the configured table.
*/ inline ConfiguredTableAnalysisRule& WithConfiguredTableId(const Aws::String& value) { SetConfiguredTableId(value); return *this;} /** *The unique ID for the configured table.
*/ inline ConfiguredTableAnalysisRule& WithConfiguredTableId(Aws::String&& value) { SetConfiguredTableId(std::move(value)); return *this;} /** *The unique ID for the configured table.
*/ inline ConfiguredTableAnalysisRule& WithConfiguredTableId(const char* value) { SetConfiguredTableId(value); return *this;} /** *The unique ARN for the configured table.
*/ inline const Aws::String& GetConfiguredTableArn() const{ return m_configuredTableArn; } /** *The unique ARN for the configured table.
*/ inline bool ConfiguredTableArnHasBeenSet() const { return m_configuredTableArnHasBeenSet; } /** *The unique ARN for the configured table.
*/ inline void SetConfiguredTableArn(const Aws::String& value) { m_configuredTableArnHasBeenSet = true; m_configuredTableArn = value; } /** *The unique ARN for the configured table.
*/ inline void SetConfiguredTableArn(Aws::String&& value) { m_configuredTableArnHasBeenSet = true; m_configuredTableArn = std::move(value); } /** *The unique ARN for the configured table.
*/ inline void SetConfiguredTableArn(const char* value) { m_configuredTableArnHasBeenSet = true; m_configuredTableArn.assign(value); } /** *The unique ARN for the configured table.
*/ inline ConfiguredTableAnalysisRule& WithConfiguredTableArn(const Aws::String& value) { SetConfiguredTableArn(value); return *this;} /** *The unique ARN for the configured table.
*/ inline ConfiguredTableAnalysisRule& WithConfiguredTableArn(Aws::String&& value) { SetConfiguredTableArn(std::move(value)); return *this;} /** *The unique ARN for the configured table.
*/ inline ConfiguredTableAnalysisRule& WithConfiguredTableArn(const char* value) { SetConfiguredTableArn(value); return *this;} /** *The policy that controls SQL query rules.
*/ inline const ConfiguredTableAnalysisRulePolicy& GetPolicy() const{ return m_policy; } /** *The policy that controls SQL query rules.
*/ inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; } /** *The policy that controls SQL query rules.
*/ inline void SetPolicy(const ConfiguredTableAnalysisRulePolicy& value) { m_policyHasBeenSet = true; m_policy = value; } /** *The policy that controls SQL query rules.
*/ inline void SetPolicy(ConfiguredTableAnalysisRulePolicy&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); } /** *The policy that controls SQL query rules.
*/ inline ConfiguredTableAnalysisRule& WithPolicy(const ConfiguredTableAnalysisRulePolicy& value) { SetPolicy(value); return *this;} /** *The policy that controls SQL query rules.
*/ inline ConfiguredTableAnalysisRule& WithPolicy(ConfiguredTableAnalysisRulePolicy&& value) { SetPolicy(std::move(value)); return *this;} /** *The type of configured table analysis rule. Valid values are `AGGREGATION` * and `LIST`.
*/ inline const ConfiguredTableAnalysisRuleType& GetType() const{ return m_type; } /** *The type of configured table analysis rule. Valid values are `AGGREGATION` * and `LIST`.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of configured table analysis rule. Valid values are `AGGREGATION` * and `LIST`.
*/ inline void SetType(const ConfiguredTableAnalysisRuleType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of configured table analysis rule. Valid values are `AGGREGATION` * and `LIST`.
*/ inline void SetType(ConfiguredTableAnalysisRuleType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of configured table analysis rule. Valid values are `AGGREGATION` * and `LIST`.
*/ inline ConfiguredTableAnalysisRule& WithType(const ConfiguredTableAnalysisRuleType& value) { SetType(value); return *this;} /** *The type of configured table analysis rule. Valid values are `AGGREGATION` * and `LIST`.
*/ inline ConfiguredTableAnalysisRule& WithType(ConfiguredTableAnalysisRuleType&& value) { SetType(std::move(value)); return *this;} /** *The time the configured table analysis rule was created.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time the configured table analysis rule was created.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time the configured table analysis rule was created.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time the configured table analysis rule was created.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time the configured table analysis rule was created.
*/ inline ConfiguredTableAnalysisRule& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time the configured table analysis rule was created.
*/ inline ConfiguredTableAnalysisRule& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *The time the configured table analysis rule was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *The time the configured table analysis rule was last updated.
*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *The time the configured table analysis rule was last updated.
*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *The time the configured table analysis rule was last updated.
*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *The time the configured table analysis rule was last updated.
*/ inline ConfiguredTableAnalysisRule& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *The time the configured table analysis rule was last updated.
*/ inline ConfiguredTableAnalysisRule& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} private: Aws::String m_configuredTableId; bool m_configuredTableIdHasBeenSet = false; Aws::String m_configuredTableArn; bool m_configuredTableArnHasBeenSet = false; ConfiguredTableAnalysisRulePolicy m_policy; bool m_policyHasBeenSet = false; ConfiguredTableAnalysisRuleType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws