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

A configured table association links a configured table to a * collaboration.

See Also:

AWS * API Reference

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

The unique ARN for the configured table association.

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

The unique ARN for the configured table association.

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

The unique ARN for the configured table association.

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

The unique ARN for the configured table association.

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

The unique ARN for the configured table association.

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

The unique ARN for the configured table association.

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

The unique ARN for the configured table association.

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

The unique ARN for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table association.

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

The unique ID for the configured table that the association refers to.

*/ inline const Aws::String& GetConfiguredTableId() const{ return m_configuredTableId; } /** *

The unique ID for the configured table that the association refers to.

*/ inline bool ConfiguredTableIdHasBeenSet() const { return m_configuredTableIdHasBeenSet; } /** *

The unique ID for the configured table that the association refers to.

*/ inline void SetConfiguredTableId(const Aws::String& value) { m_configuredTableIdHasBeenSet = true; m_configuredTableId = value; } /** *

The unique ID for the configured table that the association refers to.

*/ inline void SetConfiguredTableId(Aws::String&& value) { m_configuredTableIdHasBeenSet = true; m_configuredTableId = std::move(value); } /** *

The unique ID for the configured table that the association refers to.

*/ inline void SetConfiguredTableId(const char* value) { m_configuredTableIdHasBeenSet = true; m_configuredTableId.assign(value); } /** *

The unique ID for the configured table that the association refers to.

*/ inline ConfiguredTableAssociation& WithConfiguredTableId(const Aws::String& value) { SetConfiguredTableId(value); return *this;} /** *

The unique ID for the configured table that the association refers to.

*/ inline ConfiguredTableAssociation& WithConfiguredTableId(Aws::String&& value) { SetConfiguredTableId(std::move(value)); return *this;} /** *

The unique ID for the configured table that the association refers to.

*/ inline ConfiguredTableAssociation& WithConfiguredTableId(const char* value) { SetConfiguredTableId(value); return *this;} /** *

The unique ARN for the configured table that the association refers to.

*/ inline const Aws::String& GetConfiguredTableArn() const{ return m_configuredTableArn; } /** *

The unique ARN for the configured table that the association refers to.

*/ inline bool ConfiguredTableArnHasBeenSet() const { return m_configuredTableArnHasBeenSet; } /** *

The unique ARN for the configured table that the association refers to.

*/ inline void SetConfiguredTableArn(const Aws::String& value) { m_configuredTableArnHasBeenSet = true; m_configuredTableArn = value; } /** *

The unique ARN for the configured table that the association refers to.

*/ inline void SetConfiguredTableArn(Aws::String&& value) { m_configuredTableArnHasBeenSet = true; m_configuredTableArn = std::move(value); } /** *

The unique ARN for the configured table that the association refers to.

*/ inline void SetConfiguredTableArn(const char* value) { m_configuredTableArnHasBeenSet = true; m_configuredTableArn.assign(value); } /** *

The unique ARN for the configured table that the association refers to.

*/ inline ConfiguredTableAssociation& WithConfiguredTableArn(const Aws::String& value) { SetConfiguredTableArn(value); return *this;} /** *

The unique ARN for the configured table that the association refers to.

*/ inline ConfiguredTableAssociation& WithConfiguredTableArn(Aws::String&& value) { SetConfiguredTableArn(std::move(value)); return *this;} /** *

The unique ARN for the configured table that the association refers to.

*/ inline ConfiguredTableAssociation& WithConfiguredTableArn(const char* value) { SetConfiguredTableArn(value); return *this;} /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline const Aws::String& GetMembershipId() const{ return m_membershipId; } /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; } /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; } /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); } /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); } /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline ConfiguredTableAssociation& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;} /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline ConfiguredTableAssociation& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;} /** *

The unique ID for the membership this configured table association belongs * to.

*/ inline ConfiguredTableAssociation& WithMembershipId(const char* value) { SetMembershipId(value); return *this;} /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; } /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; } /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; } /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); } /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); } /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline ConfiguredTableAssociation& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;} /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline ConfiguredTableAssociation& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;} /** *

The unique ARN for the membership this configured table association belongs * to.

*/ inline ConfiguredTableAssociation& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;} /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline ConfiguredTableAssociation& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline ConfiguredTableAssociation& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The service will assume this role to access catalog metadata and query the * table.

*/ inline ConfiguredTableAssociation& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

The name of the configured table association, in lowercase. The table is * identified by this name when running protected queries against the underlying * data.

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

A description of the configured table association.

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

A description of the configured table association.

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

A description of the configured table association.

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

A description of the configured table association.

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

A description of the configured table association.

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

A description of the configured table association.

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

A description of the configured table association.

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

A description of the configured table association.

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

The time the configured table association was created.

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

The time the configured table association was created.

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

The time the configured table association was created.

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

The time the configured table association was created.

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

The time the configured table association was created.

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

The time the configured table association was created.

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

The time the configured table association was last updated.

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

The time the configured table association was last updated.

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

The time the configured table association was last updated.

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

The time the configured table association was last updated.

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

The time the configured table association was last updated.

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

The time the configured table association was last updated.

*/ inline ConfiguredTableAssociation& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_configuredTableId; bool m_configuredTableIdHasBeenSet = false; Aws::String m_configuredTableArn; bool m_configuredTableArnHasBeenSet = false; Aws::String m_membershipId; bool m_membershipIdHasBeenSet = false; Aws::String m_membershipArn; bool m_membershipArnHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = 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