/** * 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 CleanRooms { namespace Model { /** */ class CreateConfiguredTableRequest : public CleanRoomsRequest { public: AWS_CLEANROOMS_API CreateConfiguredTableRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguredTable"; } AWS_CLEANROOMS_API Aws::String SerializePayload() const override; /** *

The name of the configured table.

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

The name of the configured table.

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

The name of the configured table.

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

The name of the configured table.

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

The name of the configured table.

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

The name of the configured table.

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

The name of the configured table.

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

The name of the configured table.

*/ inline CreateConfiguredTableRequest& 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 CreateConfiguredTableRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for the configured table.

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

A description for the configured table.

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

A reference to the Glue table being configured.

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

A reference to the Glue table being configured.

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

A reference to the Glue table being configured.

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

A reference to the Glue table being configured.

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

A reference to the Glue table being configured.

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

A reference to the Glue table being configured.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

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

The columns of the underlying table that can be used by collaborations or * analysis rules.

*/ inline CreateConfiguredTableRequest& AddAllowedColumns(const char* value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(value); return *this; } /** *

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

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

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

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

The analysis method for the configured tables. 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 tables. 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 tables. The only valid value is * currently `DIRECT_QUERY`.

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

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

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

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateConfiguredTableRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; TableReference m_tableReference; bool m_tableReferenceHasBeenSet = false; Aws::Vector m_allowedColumns; bool m_allowedColumnsHasBeenSet = false; AnalysisMethod m_analysisMethod; bool m_analysisMethodHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws