/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CleanRooms.Model { /// <summary> /// A configured table association links a configured table to a collaboration. /// </summary> public partial class ConfiguredTableAssociation { private string _arn; private string _configuredTableArn; private string _configuredTableId; private DateTime? _createTime; private string _description; private string _id; private string _membershipArn; private string _membershipId; private string _name; private string _roleArn; private DateTime? _updateTime; /// <summary> /// Gets and sets the property Arn. /// <para> /// The unique ARN for the configured table association. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=100)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// <summary> /// Gets and sets the property ConfiguredTableArn. /// <para> /// The unique ARN for the configured table that the association refers to. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=100)] public string ConfiguredTableArn { get { return this._configuredTableArn; } set { this._configuredTableArn = value; } } // Check to see if ConfiguredTableArn property is set internal bool IsSetConfiguredTableArn() { return this._configuredTableArn != null; } /// <summary> /// Gets and sets the property ConfiguredTableId. /// <para> /// The unique ID for the configured table that the association refers to. /// </para> /// </summary> [AWSProperty(Required=true, Min=36, Max=36)] public string ConfiguredTableId { get { return this._configuredTableId; } set { this._configuredTableId = value; } } // Check to see if ConfiguredTableId property is set internal bool IsSetConfiguredTableId() { return this._configuredTableId != null; } /// <summary> /// Gets and sets the property CreateTime. /// <para> /// The time the configured table association was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreateTime { get { return this._createTime.GetValueOrDefault(); } set { this._createTime = value; } } // Check to see if CreateTime property is set internal bool IsSetCreateTime() { return this._createTime.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the configured table association. /// </para> /// </summary> [AWSProperty(Min=0, Max=255)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID for the configured table association. /// </para> /// </summary> [AWSProperty(Required=true, Min=36, Max=36)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property MembershipArn. /// <para> /// The unique ARN for the membership this configured table association belongs to. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=100)] public string MembershipArn { get { return this._membershipArn; } set { this._membershipArn = value; } } // Check to see if MembershipArn property is set internal bool IsSetMembershipArn() { return this._membershipArn != null; } /// <summary> /// Gets and sets the property MembershipId. /// <para> /// The unique ID for the membership this configured table association belongs to. /// </para> /// </summary> [AWSProperty(Required=true, Min=36, Max=36)] public string MembershipId { get { return this._membershipId; } set { this._membershipId = value; } } // Check to see if MembershipId property is set internal bool IsSetMembershipId() { return this._membershipId != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the configured table association, in lowercase. The table is identified /// by this name when running protected queries against the underlying data. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property RoleArn. /// <para> /// The service will assume this role to access catalog metadata and query the table. /// </para> /// </summary> [AWSProperty(Required=true, Min=32, Max=512)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// <summary> /// Gets and sets the property UpdateTime. /// <para> /// The time the configured table association was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime UpdateTime { get { return this._updateTime.GetValueOrDefault(); } set { this._updateTime = value; } } // Check to see if UpdateTime property is set internal bool IsSetUpdateTime() { return this._updateTime.HasValue; } } }