/*
* 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 keyspaces-2022-02-10.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.Keyspaces.Model
{
///
/// This is the response object from the GetTable operation.
///
public partial class GetTableResponse : AmazonWebServiceResponse
{
private CapacitySpecificationSummary _capacitySpecification;
private ClientSideTimestamps _clientSideTimestamps;
private Comment _comment;
private DateTime? _creationTimestamp;
private int? _defaultTimeToLive;
private EncryptionSpecification _encryptionSpecification;
private string _keyspaceName;
private PointInTimeRecoverySummary _pointInTimeRecovery;
private string _resourceArn;
private SchemaDefinition _schemaDefinition;
private TableStatus _status;
private string _tableName;
private TimeToLive _ttl;
///
/// Gets and sets the property CapacitySpecification.
///
/// The read/write throughput capacity mode for a table. The options are:
///
/// -
///
///
throughputMode:PAY_PER_REQUEST
///
/// -
///
///
throughputMode:PROVISIONED
///
///
///
public CapacitySpecificationSummary CapacitySpecification
{
get { return this._capacitySpecification; }
set { this._capacitySpecification = value; }
}
// Check to see if CapacitySpecification property is set
internal bool IsSetCapacitySpecification()
{
return this._capacitySpecification != null;
}
///
/// Gets and sets the property ClientSideTimestamps.
///
/// The client-side timestamps setting of the table.
///
///
public ClientSideTimestamps ClientSideTimestamps
{
get { return this._clientSideTimestamps; }
set { this._clientSideTimestamps = value; }
}
// Check to see if ClientSideTimestamps property is set
internal bool IsSetClientSideTimestamps()
{
return this._clientSideTimestamps != null;
}
///
/// Gets and sets the property Comment.
///
/// The the description of the specified table.
///
///
public Comment Comment
{
get { return this._comment; }
set { this._comment = value; }
}
// Check to see if Comment property is set
internal bool IsSetComment()
{
return this._comment != null;
}
///
/// Gets and sets the property CreationTimestamp.
///
/// The creation timestamp of the specified table.
///
///
public DateTime CreationTimestamp
{
get { return this._creationTimestamp.GetValueOrDefault(); }
set { this._creationTimestamp = value; }
}
// Check to see if CreationTimestamp property is set
internal bool IsSetCreationTimestamp()
{
return this._creationTimestamp.HasValue;
}
///
/// Gets and sets the property DefaultTimeToLive.
///
/// The default Time to Live settings in seconds of the specified table.
///
///
[AWSProperty(Min=1, Max=630720000)]
public int DefaultTimeToLive
{
get { return this._defaultTimeToLive.GetValueOrDefault(); }
set { this._defaultTimeToLive = value; }
}
// Check to see if DefaultTimeToLive property is set
internal bool IsSetDefaultTimeToLive()
{
return this._defaultTimeToLive.HasValue;
}
///
/// Gets and sets the property EncryptionSpecification.
///
/// The encryption settings of the specified table.
///
///
public EncryptionSpecification EncryptionSpecification
{
get { return this._encryptionSpecification; }
set { this._encryptionSpecification = value; }
}
// Check to see if EncryptionSpecification property is set
internal bool IsSetEncryptionSpecification()
{
return this._encryptionSpecification != null;
}
///
/// Gets and sets the property KeyspaceName.
///
/// The name of the keyspace that the specified table is stored in.
///
///
[AWSProperty(Required=true, Min=1, Max=48)]
public string KeyspaceName
{
get { return this._keyspaceName; }
set { this._keyspaceName = value; }
}
// Check to see if KeyspaceName property is set
internal bool IsSetKeyspaceName()
{
return this._keyspaceName != null;
}
///
/// Gets and sets the property PointInTimeRecovery.
///
/// The point-in-time recovery status of the specified table.
///
///
public PointInTimeRecoverySummary PointInTimeRecovery
{
get { return this._pointInTimeRecovery; }
set { this._pointInTimeRecovery = value; }
}
// Check to see if PointInTimeRecovery property is set
internal bool IsSetPointInTimeRecovery()
{
return this._pointInTimeRecovery != null;
}
///
/// Gets and sets the property ResourceArn.
///
/// The Amazon Resource Name (ARN) of the specified table.
///
///
[AWSProperty(Required=true, Min=20, Max=1000)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
///
/// Gets and sets the property SchemaDefinition.
///
/// The schema definition of the specified table.
///
///
public SchemaDefinition SchemaDefinition
{
get { return this._schemaDefinition; }
set { this._schemaDefinition = value; }
}
// Check to see if SchemaDefinition property is set
internal bool IsSetSchemaDefinition()
{
return this._schemaDefinition != null;
}
///
/// Gets and sets the property Status.
///
/// The current status of the specified table.
///
///
public TableStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property TableName.
///
/// The name of the specified table.
///
///
[AWSProperty(Required=true, Min=1, Max=48)]
public string TableName
{
get { return this._tableName; }
set { this._tableName = value; }
}
// Check to see if TableName property is set
internal bool IsSetTableName()
{
return this._tableName != null;
}
///
/// Gets and sets the property Ttl.
///
/// The custom Time to Live settings of the specified table.
///
///
public TimeToLive Ttl
{
get { return this._ttl; }
set { this._ttl = value; }
}
// Check to see if Ttl property is set
internal bool IsSetTtl()
{
return this._ttl != null;
}
}
}