/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CleanRooms { namespace Model { /** *

A table that has been configured for use in a collaboration.

See * Also:

AWS * API Reference

*/ class ConfiguredTable { public: AWS_CLEANROOMS_API ConfiguredTable(); AWS_CLEANROOMS_API ConfiguredTable(Aws::Utils::Json::JsonView jsonValue); AWS_CLEANROOMS_API ConfiguredTable& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique ID for the configured table.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique ID for the configured table.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique ID for the configured table.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique ID for the configured table.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique ID for the configured table.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique ID for the configured table.

*/ inline ConfiguredTable& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique ID for the configured table.

*/ inline ConfiguredTable& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique ID for the configured table.

*/ inline ConfiguredTable& WithId(const char* value) { SetId(value); return *this;} /** *

The unique ARN for the configured table.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The unique ARN for the configured table.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The unique ARN for the configured table.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The unique ARN for the configured table.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The unique ARN for the configured table.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The unique ARN for the configured table.

*/ inline ConfiguredTable& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The unique ARN for the configured table.

*/ inline ConfiguredTable& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The unique ARN for the configured table.

*/ inline ConfiguredTable& WithArn(const char* value) { SetArn(value); return *this;} /** *

A name for the configured table.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A name for the configured table.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A name for the configured table.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A name for the configured table.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A name for the configured table.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A name for the configured table.

*/ inline ConfiguredTable& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A name for the configured table.

*/ inline ConfiguredTable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A name for the configured table.

*/ inline ConfiguredTable& WithName(const char* value) { SetName(value); return *this;} /** *

A description for the configured table.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description for the configured table.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description for the configured table.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description for the configured table.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description for the configured table.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description for the configured table.

*/ inline ConfiguredTable& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for the configured table.

*/ inline ConfiguredTable& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description for the configured table.

*/ inline ConfiguredTable& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Glue table that this configured table represents.

*/ inline const TableReference& GetTableReference() const{ return m_tableReference; } /** *

The Glue table that this configured table represents.

*/ inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; } /** *

The Glue table that this configured table represents.

*/ inline void SetTableReference(const TableReference& value) { m_tableReferenceHasBeenSet = true; m_tableReference = value; } /** *

The Glue table that this configured table represents.

*/ inline void SetTableReference(TableReference&& value) { m_tableReferenceHasBeenSet = true; m_tableReference = std::move(value); } /** *

The Glue table that this configured table represents.

*/ inline ConfiguredTable& WithTableReference(const TableReference& value) { SetTableReference(value); return *this;} /** *

The Glue table that this configured table represents.

*/ inline ConfiguredTable& WithTableReference(TableReference&& value) { SetTableReference(std::move(value)); return *this;} /** *

The time the configured table was created.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The time the configured table was created.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The time the configured table was created.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The time the configured table was created.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The time the configured table was created.

*/ inline ConfiguredTable& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The time the configured table was created.

*/ inline ConfiguredTable& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The time the configured table was last updated

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

The time the configured table was last updated

*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

The time the configured table was last updated

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *

The time the configured table was last updated

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *

The time the configured table was last updated

*/ inline ConfiguredTable& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

The time the configured table was last updated

*/ inline ConfiguredTable& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline const Aws::Vector& GetAnalysisRuleTypes() const{ return m_analysisRuleTypes; } /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; } /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline void SetAnalysisRuleTypes(const Aws::Vector& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = value; } /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline void SetAnalysisRuleTypes(Aws::Vector&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = std::move(value); } /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline ConfiguredTable& WithAnalysisRuleTypes(const Aws::Vector& value) { SetAnalysisRuleTypes(value); return *this;} /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline ConfiguredTable& WithAnalysisRuleTypes(Aws::Vector&& value) { SetAnalysisRuleTypes(std::move(value)); return *this;} /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline ConfiguredTable& AddAnalysisRuleTypes(const ConfiguredTableAnalysisRuleType& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(value); return *this; } /** *

The types of analysis rules associated with this configured table. Valid * values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be * associated with a configured table.

*/ inline ConfiguredTable& AddAnalysisRuleTypes(ConfiguredTableAnalysisRuleType&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(std::move(value)); return *this; } /** *

The analysis method for the configured table. The only valid value is * currently `DIRECT_QUERY`.

*/ inline const AnalysisMethod& GetAnalysisMethod() const{ return m_analysisMethod; } /** *

The analysis method for the configured table. The only valid value is * currently `DIRECT_QUERY`.

*/ inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; } /** *

The analysis method for the configured table. The only valid value is * currently `DIRECT_QUERY`.

*/ inline void SetAnalysisMethod(const AnalysisMethod& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; } /** *

The analysis method for the configured table. The only valid value is * currently `DIRECT_QUERY`.

*/ inline void SetAnalysisMethod(AnalysisMethod&& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = std::move(value); } /** *

The analysis method for the configured table. The only valid value is * currently `DIRECT_QUERY`.

*/ inline ConfiguredTable& WithAnalysisMethod(const AnalysisMethod& value) { SetAnalysisMethod(value); return *this;} /** *

The analysis method for the configured table. The only valid value is * currently `DIRECT_QUERY`.

*/ inline ConfiguredTable& WithAnalysisMethod(AnalysisMethod&& value) { SetAnalysisMethod(std::move(value)); return *this;} /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline const Aws::Vector& GetAllowedColumns() const{ return m_allowedColumns; } /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; } /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline void SetAllowedColumns(const Aws::Vector& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = value; } /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline void SetAllowedColumns(Aws::Vector&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = std::move(value); } /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline ConfiguredTable& WithAllowedColumns(const Aws::Vector& value) { SetAllowedColumns(value); return *this;} /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline ConfiguredTable& WithAllowedColumns(Aws::Vector&& value) { SetAllowedColumns(std::move(value)); return *this;} /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline ConfiguredTable& AddAllowedColumns(const Aws::String& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(value); return *this; } /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline ConfiguredTable& AddAllowedColumns(Aws::String&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(std::move(value)); return *this; } /** *

The columns within the underlying Glue table that can be utilized within * collaborations.

*/ inline ConfiguredTable& AddAllowedColumns(const char* value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; TableReference m_tableReference; bool m_tableReferenceHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; Aws::Vector m_analysisRuleTypes; bool m_analysisRuleTypesHasBeenSet = false; AnalysisMethod m_analysisMethod; bool m_analysisMethodHasBeenSet = false; Aws::Vector m_allowedColumns; bool m_allowedColumnsHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws