/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information that defines an Amazon Timestream
* endpoint.See Also:
AWS
* API Reference
Database name for the endpoint.
*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *Database name for the endpoint.
*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *Database name for the endpoint.
*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *Database name for the endpoint.
*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *Database name for the endpoint.
*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *Database name for the endpoint.
*/ inline TimestreamSettings& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *Database name for the endpoint.
*/ inline TimestreamSettings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *Database name for the endpoint.
*/ inline TimestreamSettings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *Set this attribute to specify the length of time to store all of the tables * in memory that are migrated into Amazon Timestream from the source database. * Time is measured in units of hours. When Timestream data comes in, it first * resides in memory for the specified duration, which allows quick access to * it.
*/ inline int GetMemoryDuration() const{ return m_memoryDuration; } /** *Set this attribute to specify the length of time to store all of the tables * in memory that are migrated into Amazon Timestream from the source database. * Time is measured in units of hours. When Timestream data comes in, it first * resides in memory for the specified duration, which allows quick access to * it.
*/ inline bool MemoryDurationHasBeenSet() const { return m_memoryDurationHasBeenSet; } /** *Set this attribute to specify the length of time to store all of the tables * in memory that are migrated into Amazon Timestream from the source database. * Time is measured in units of hours. When Timestream data comes in, it first * resides in memory for the specified duration, which allows quick access to * it.
*/ inline void SetMemoryDuration(int value) { m_memoryDurationHasBeenSet = true; m_memoryDuration = value; } /** *Set this attribute to specify the length of time to store all of the tables * in memory that are migrated into Amazon Timestream from the source database. * Time is measured in units of hours. When Timestream data comes in, it first * resides in memory for the specified duration, which allows quick access to * it.
*/ inline TimestreamSettings& WithMemoryDuration(int value) { SetMemoryDuration(value); return *this;} /** *Set this attribute to specify the default magnetic duration applied to the * Amazon Timestream tables in days. This is the number of days that records remain * in magnetic store before being discarded. For more information, see Storage * in the Amazon * Timestream Developer Guide.
*/ inline int GetMagneticDuration() const{ return m_magneticDuration; } /** *Set this attribute to specify the default magnetic duration applied to the * Amazon Timestream tables in days. This is the number of days that records remain * in magnetic store before being discarded. For more information, see Storage * in the Amazon * Timestream Developer Guide.
*/ inline bool MagneticDurationHasBeenSet() const { return m_magneticDurationHasBeenSet; } /** *Set this attribute to specify the default magnetic duration applied to the * Amazon Timestream tables in days. This is the number of days that records remain * in magnetic store before being discarded. For more information, see Storage * in the Amazon * Timestream Developer Guide.
*/ inline void SetMagneticDuration(int value) { m_magneticDurationHasBeenSet = true; m_magneticDuration = value; } /** *Set this attribute to specify the default magnetic duration applied to the * Amazon Timestream tables in days. This is the number of days that records remain * in magnetic store before being discarded. For more information, see Storage * in the Amazon * Timestream Developer Guide.
*/ inline TimestreamSettings& WithMagneticDuration(int value) { SetMagneticDuration(value); return *this;} /** *Set this attribute to true
to specify that DMS only applies
* inserts and updates, and not deletes. Amazon Timestream does not allow deleting
* records, so if this value is false
, DMS nulls out the corresponding
* record in the Timestream database rather than deleting it.
Set this attribute to true
to specify that DMS only applies
* inserts and updates, and not deletes. Amazon Timestream does not allow deleting
* records, so if this value is false
, DMS nulls out the corresponding
* record in the Timestream database rather than deleting it.
Set this attribute to true
to specify that DMS only applies
* inserts and updates, and not deletes. Amazon Timestream does not allow deleting
* records, so if this value is false
, DMS nulls out the corresponding
* record in the Timestream database rather than deleting it.
Set this attribute to true
to specify that DMS only applies
* inserts and updates, and not deletes. Amazon Timestream does not allow deleting
* records, so if this value is false
, DMS nulls out the corresponding
* record in the Timestream database rather than deleting it.
Set this attribute to true
to enable memory store writes. When
* this value is false
, DMS does not write records that are older in
* days than the value specified in MagneticDuration
, because Amazon
* Timestream does not allow memory writes by default. For more information, see Storage
* in the Amazon
* Timestream Developer Guide.
Set this attribute to true
to enable memory store writes. When
* this value is false
, DMS does not write records that are older in
* days than the value specified in MagneticDuration
, because Amazon
* Timestream does not allow memory writes by default. For more information, see Storage
* in the Amazon
* Timestream Developer Guide.
Set this attribute to true
to enable memory store writes. When
* this value is false
, DMS does not write records that are older in
* days than the value specified in MagneticDuration
, because Amazon
* Timestream does not allow memory writes by default. For more information, see Storage
* in the Amazon
* Timestream Developer Guide.
Set this attribute to true
to enable memory store writes. When
* this value is false
, DMS does not write records that are older in
* days than the value specified in MagneticDuration
, because Amazon
* Timestream does not allow memory writes by default. For more information, see Storage
* in the Amazon
* Timestream Developer Guide.