/** * 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 #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Keyspaces { namespace Model { class GetTableResult { public: AWS_KEYSPACES_API GetTableResult(); AWS_KEYSPACES_API GetTableResult(const Aws::AmazonWebServiceResult& result); AWS_KEYSPACES_API GetTableResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the keyspace that the specified table is stored in.

*/ inline const Aws::String& GetKeyspaceName() const{ return m_keyspaceName; } /** *

The name of the keyspace that the specified table is stored in.

*/ inline void SetKeyspaceName(const Aws::String& value) { m_keyspaceName = value; } /** *

The name of the keyspace that the specified table is stored in.

*/ inline void SetKeyspaceName(Aws::String&& value) { m_keyspaceName = std::move(value); } /** *

The name of the keyspace that the specified table is stored in.

*/ inline void SetKeyspaceName(const char* value) { m_keyspaceName.assign(value); } /** *

The name of the keyspace that the specified table is stored in.

*/ inline GetTableResult& WithKeyspaceName(const Aws::String& value) { SetKeyspaceName(value); return *this;} /** *

The name of the keyspace that the specified table is stored in.

*/ inline GetTableResult& WithKeyspaceName(Aws::String&& value) { SetKeyspaceName(std::move(value)); return *this;} /** *

The name of the keyspace that the specified table is stored in.

*/ inline GetTableResult& WithKeyspaceName(const char* value) { SetKeyspaceName(value); return *this;} /** *

The name of the specified table.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The name of the specified table.

*/ inline void SetTableName(const Aws::String& value) { m_tableName = value; } /** *

The name of the specified table.

*/ inline void SetTableName(Aws::String&& value) { m_tableName = std::move(value); } /** *

The name of the specified table.

*/ inline void SetTableName(const char* value) { m_tableName.assign(value); } /** *

The name of the specified table.

*/ inline GetTableResult& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The name of the specified table.

*/ inline GetTableResult& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The name of the specified table.

*/ inline GetTableResult& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the specified table.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the specified table.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } /** *

The Amazon Resource Name (ARN) of the specified table.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the specified table.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the specified table.

*/ inline GetTableResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the specified table.

*/ inline GetTableResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the specified table.

*/ inline GetTableResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The creation timestamp of the specified table.

*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *

The creation timestamp of the specified table.

*/ inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; } /** *

The creation timestamp of the specified table.

*/ inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); } /** *

The creation timestamp of the specified table.

*/ inline GetTableResult& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *

The creation timestamp of the specified table.

*/ inline GetTableResult& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;} /** *

The current status of the specified table.

*/ inline const TableStatus& GetStatus() const{ return m_status; } /** *

The current status of the specified table.

*/ inline void SetStatus(const TableStatus& value) { m_status = value; } /** *

The current status of the specified table.

*/ inline void SetStatus(TableStatus&& value) { m_status = std::move(value); } /** *

The current status of the specified table.

*/ inline GetTableResult& WithStatus(const TableStatus& value) { SetStatus(value); return *this;} /** *

The current status of the specified table.

*/ inline GetTableResult& WithStatus(TableStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The schema definition of the specified table.

*/ inline const SchemaDefinition& GetSchemaDefinition() const{ return m_schemaDefinition; } /** *

The schema definition of the specified table.

*/ inline void SetSchemaDefinition(const SchemaDefinition& value) { m_schemaDefinition = value; } /** *

The schema definition of the specified table.

*/ inline void SetSchemaDefinition(SchemaDefinition&& value) { m_schemaDefinition = std::move(value); } /** *

The schema definition of the specified table.

*/ inline GetTableResult& WithSchemaDefinition(const SchemaDefinition& value) { SetSchemaDefinition(value); return *this;} /** *

The schema definition of the specified table.

*/ inline GetTableResult& WithSchemaDefinition(SchemaDefinition&& value) { SetSchemaDefinition(std::move(value)); return *this;} /** *

The read/write throughput capacity mode for a table. The options are:

*
  • throughputMode:PAY_PER_REQUEST

  • * throughputMode:PROVISIONED

*/ inline const CapacitySpecificationSummary& GetCapacitySpecification() const{ return m_capacitySpecification; } /** *

The read/write throughput capacity mode for a table. The options are:

*
  • throughputMode:PAY_PER_REQUEST

  • * throughputMode:PROVISIONED

*/ inline void SetCapacitySpecification(const CapacitySpecificationSummary& value) { m_capacitySpecification = value; } /** *

The read/write throughput capacity mode for a table. The options are:

*
  • throughputMode:PAY_PER_REQUEST

  • * throughputMode:PROVISIONED

*/ inline void SetCapacitySpecification(CapacitySpecificationSummary&& value) { m_capacitySpecification = std::move(value); } /** *

The read/write throughput capacity mode for a table. The options are:

*
  • throughputMode:PAY_PER_REQUEST

  • * throughputMode:PROVISIONED

*/ inline GetTableResult& WithCapacitySpecification(const CapacitySpecificationSummary& value) { SetCapacitySpecification(value); return *this;} /** *

The read/write throughput capacity mode for a table. The options are:

*
  • throughputMode:PAY_PER_REQUEST

  • * throughputMode:PROVISIONED

*/ inline GetTableResult& WithCapacitySpecification(CapacitySpecificationSummary&& value) { SetCapacitySpecification(std::move(value)); return *this;} /** *

The encryption settings of the specified table.

*/ inline const EncryptionSpecification& GetEncryptionSpecification() const{ return m_encryptionSpecification; } /** *

The encryption settings of the specified table.

*/ inline void SetEncryptionSpecification(const EncryptionSpecification& value) { m_encryptionSpecification = value; } /** *

The encryption settings of the specified table.

*/ inline void SetEncryptionSpecification(EncryptionSpecification&& value) { m_encryptionSpecification = std::move(value); } /** *

The encryption settings of the specified table.

*/ inline GetTableResult& WithEncryptionSpecification(const EncryptionSpecification& value) { SetEncryptionSpecification(value); return *this;} /** *

The encryption settings of the specified table.

*/ inline GetTableResult& WithEncryptionSpecification(EncryptionSpecification&& value) { SetEncryptionSpecification(std::move(value)); return *this;} /** *

The point-in-time recovery status of the specified table.

*/ inline const PointInTimeRecoverySummary& GetPointInTimeRecovery() const{ return m_pointInTimeRecovery; } /** *

The point-in-time recovery status of the specified table.

*/ inline void SetPointInTimeRecovery(const PointInTimeRecoverySummary& value) { m_pointInTimeRecovery = value; } /** *

The point-in-time recovery status of the specified table.

*/ inline void SetPointInTimeRecovery(PointInTimeRecoverySummary&& value) { m_pointInTimeRecovery = std::move(value); } /** *

The point-in-time recovery status of the specified table.

*/ inline GetTableResult& WithPointInTimeRecovery(const PointInTimeRecoverySummary& value) { SetPointInTimeRecovery(value); return *this;} /** *

The point-in-time recovery status of the specified table.

*/ inline GetTableResult& WithPointInTimeRecovery(PointInTimeRecoverySummary&& value) { SetPointInTimeRecovery(std::move(value)); return *this;} /** *

The custom Time to Live settings of the specified table.

*/ inline const TimeToLive& GetTtl() const{ return m_ttl; } /** *

The custom Time to Live settings of the specified table.

*/ inline void SetTtl(const TimeToLive& value) { m_ttl = value; } /** *

The custom Time to Live settings of the specified table.

*/ inline void SetTtl(TimeToLive&& value) { m_ttl = std::move(value); } /** *

The custom Time to Live settings of the specified table.

*/ inline GetTableResult& WithTtl(const TimeToLive& value) { SetTtl(value); return *this;} /** *

The custom Time to Live settings of the specified table.

*/ inline GetTableResult& WithTtl(TimeToLive&& value) { SetTtl(std::move(value)); return *this;} /** *

The default Time to Live settings in seconds of the specified table.

*/ inline int GetDefaultTimeToLive() const{ return m_defaultTimeToLive; } /** *

The default Time to Live settings in seconds of the specified table.

*/ inline void SetDefaultTimeToLive(int value) { m_defaultTimeToLive = value; } /** *

The default Time to Live settings in seconds of the specified table.

*/ inline GetTableResult& WithDefaultTimeToLive(int value) { SetDefaultTimeToLive(value); return *this;} /** *

The the description of the specified table.

*/ inline const Comment& GetComment() const{ return m_comment; } /** *

The the description of the specified table.

*/ inline void SetComment(const Comment& value) { m_comment = value; } /** *

The the description of the specified table.

*/ inline void SetComment(Comment&& value) { m_comment = std::move(value); } /** *

The the description of the specified table.

*/ inline GetTableResult& WithComment(const Comment& value) { SetComment(value); return *this;} /** *

The the description of the specified table.

*/ inline GetTableResult& WithComment(Comment&& value) { SetComment(std::move(value)); return *this;} /** *

The client-side timestamps setting of the table.

*/ inline const ClientSideTimestamps& GetClientSideTimestamps() const{ return m_clientSideTimestamps; } /** *

The client-side timestamps setting of the table.

*/ inline void SetClientSideTimestamps(const ClientSideTimestamps& value) { m_clientSideTimestamps = value; } /** *

The client-side timestamps setting of the table.

*/ inline void SetClientSideTimestamps(ClientSideTimestamps&& value) { m_clientSideTimestamps = std::move(value); } /** *

The client-side timestamps setting of the table.

*/ inline GetTableResult& WithClientSideTimestamps(const ClientSideTimestamps& value) { SetClientSideTimestamps(value); return *this;} /** *

The client-side timestamps setting of the table.

*/ inline GetTableResult& WithClientSideTimestamps(ClientSideTimestamps&& value) { SetClientSideTimestamps(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetTableResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetTableResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetTableResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_keyspaceName; Aws::String m_tableName; Aws::String m_resourceArn; Aws::Utils::DateTime m_creationTimestamp; TableStatus m_status; SchemaDefinition m_schemaDefinition; CapacitySpecificationSummary m_capacitySpecification; EncryptionSpecification m_encryptionSpecification; PointInTimeRecoverySummary m_pointInTimeRecovery; TimeToLive m_ttl; int m_defaultTimeToLive; Comment m_comment; ClientSideTimestamps m_clientSideTimestamps; Aws::String m_requestId; }; } // namespace Model } // namespace Keyspaces } // namespace Aws