/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a data store.See Also:
AWS
* API Reference
The name of the data store.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data store.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data store.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data store.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data store.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data store.
*/ inline Datastore& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data store.
*/ inline Datastore& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data store.
*/ inline Datastore& WithName(const char* value) { SetName(value); return *this;} /** *Where data in a data store is stored.. You can choose
* serviceManagedS3
storage, customerManagedS3
storage,
* or iotSiteWiseMultiLayerStorage
storage. The default is
* serviceManagedS3
. You can't change the choice of Amazon S3 storage
* after your data store is created.
Where data in a data store is stored.. You can choose
* serviceManagedS3
storage, customerManagedS3
storage,
* or iotSiteWiseMultiLayerStorage
storage. The default is
* serviceManagedS3
. You can't change the choice of Amazon S3 storage
* after your data store is created.
Where data in a data store is stored.. You can choose
* serviceManagedS3
storage, customerManagedS3
storage,
* or iotSiteWiseMultiLayerStorage
storage. The default is
* serviceManagedS3
. You can't change the choice of Amazon S3 storage
* after your data store is created.
Where data in a data store is stored.. You can choose
* serviceManagedS3
storage, customerManagedS3
storage,
* or iotSiteWiseMultiLayerStorage
storage. The default is
* serviceManagedS3
. You can't change the choice of Amazon S3 storage
* after your data store is created.
Where data in a data store is stored.. You can choose
* serviceManagedS3
storage, customerManagedS3
storage,
* or iotSiteWiseMultiLayerStorage
storage. The default is
* serviceManagedS3
. You can't change the choice of Amazon S3 storage
* after your data store is created.
Where data in a data store is stored.. You can choose
* serviceManagedS3
storage, customerManagedS3
storage,
* or iotSiteWiseMultiLayerStorage
storage. The default is
* serviceManagedS3
. You can't change the choice of Amazon S3 storage
* after your data store is created.
The ARN of the data store.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the data store.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the data store.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the data store.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the data store.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the data store.
*/ inline Datastore& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the data store.
*/ inline Datastore& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the data store.
*/ inline Datastore& WithArn(const char* value) { SetArn(value); return *this;} /** *The status of a data store:
The data store * is being created.
The data store has been * created and can be used.
The data store is * being deleted.
The status of a data store:
The data store * is being created.
The data store has been * created and can be used.
The data store is * being deleted.
The status of a data store:
The data store * is being created.
The data store has been * created and can be used.
The data store is * being deleted.
The status of a data store:
The data store * is being created.
The data store has been * created and can be used.
The data store is * being deleted.
The status of a data store:
The data store * is being created.
The data store has been * created and can be used.
The data store is * being deleted.
The status of a data store:
The data store * is being created.
The data store has been * created and can be used.
The data store is * being deleted.
How long, in days, message data is kept for the data store. When
* customerManagedS3
storage is selected, this parameter is
* ignored.
How long, in days, message data is kept for the data store. When
* customerManagedS3
storage is selected, this parameter is
* ignored.
How long, in days, message data is kept for the data store. When
* customerManagedS3
storage is selected, this parameter is
* ignored.
How long, in days, message data is kept for the data store. When
* customerManagedS3
storage is selected, this parameter is
* ignored.
How long, in days, message data is kept for the data store. When
* customerManagedS3
storage is selected, this parameter is
* ignored.
How long, in days, message data is kept for the data store. When
* customerManagedS3
storage is selected, this parameter is
* ignored.
When the data store was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the data store was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the data store was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the data store was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the data store was created.
*/ inline Datastore& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the data store was created.
*/ inline Datastore& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last time the data store was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The last time the data store was updated.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The last time the data store was updated.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The last time the data store was updated.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The last time the data store was updated.
*/ inline Datastore& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The last time the data store was updated.
*/ inline Datastore& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *The last time when a new message arrived in the data store.
IoT
* Analytics updates this value at most once per minute for Amazon Simple Storage
* Service one data store. Hence, the lastMessageArrivalTime
value is
* an approximation.
This feature only applies to messages that arrived in * the data store after October 23, 2020.
*/ inline const Aws::Utils::DateTime& GetLastMessageArrivalTime() const{ return m_lastMessageArrivalTime; } /** *The last time when a new message arrived in the data store.
IoT
* Analytics updates this value at most once per minute for Amazon Simple Storage
* Service one data store. Hence, the lastMessageArrivalTime
value is
* an approximation.
This feature only applies to messages that arrived in * the data store after October 23, 2020.
*/ inline bool LastMessageArrivalTimeHasBeenSet() const { return m_lastMessageArrivalTimeHasBeenSet; } /** *The last time when a new message arrived in the data store.
IoT
* Analytics updates this value at most once per minute for Amazon Simple Storage
* Service one data store. Hence, the lastMessageArrivalTime
value is
* an approximation.
This feature only applies to messages that arrived in * the data store after October 23, 2020.
*/ inline void SetLastMessageArrivalTime(const Aws::Utils::DateTime& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = value; } /** *The last time when a new message arrived in the data store.
IoT
* Analytics updates this value at most once per minute for Amazon Simple Storage
* Service one data store. Hence, the lastMessageArrivalTime
value is
* an approximation.
This feature only applies to messages that arrived in * the data store after October 23, 2020.
*/ inline void SetLastMessageArrivalTime(Aws::Utils::DateTime&& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = std::move(value); } /** *The last time when a new message arrived in the data store.
IoT
* Analytics updates this value at most once per minute for Amazon Simple Storage
* Service one data store. Hence, the lastMessageArrivalTime
value is
* an approximation.
This feature only applies to messages that arrived in * the data store after October 23, 2020.
*/ inline Datastore& WithLastMessageArrivalTime(const Aws::Utils::DateTime& value) { SetLastMessageArrivalTime(value); return *this;} /** *The last time when a new message arrived in the data store.
IoT
* Analytics updates this value at most once per minute for Amazon Simple Storage
* Service one data store. Hence, the lastMessageArrivalTime
value is
* an approximation.
This feature only applies to messages that arrived in * the data store after October 23, 2020.
*/ inline Datastore& WithLastMessageArrivalTime(Aws::Utils::DateTime&& value) { SetLastMessageArrivalTime(std::move(value)); return *this;} /** *Contains the configuration information of file formats. IoT Analytics data * stores support JSON and Parquet.
*The default file format is JSON. You can specify only one format.
You * can't change the file format after you create the data store.
*/ inline const FileFormatConfiguration& GetFileFormatConfiguration() const{ return m_fileFormatConfiguration; } /** *Contains the configuration information of file formats. IoT Analytics data * stores support JSON and Parquet.
*The default file format is JSON. You can specify only one format.
You * can't change the file format after you create the data store.
*/ inline bool FileFormatConfigurationHasBeenSet() const { return m_fileFormatConfigurationHasBeenSet; } /** *Contains the configuration information of file formats. IoT Analytics data * stores support JSON and Parquet.
*The default file format is JSON. You can specify only one format.
You * can't change the file format after you create the data store.
*/ inline void SetFileFormatConfiguration(const FileFormatConfiguration& value) { m_fileFormatConfigurationHasBeenSet = true; m_fileFormatConfiguration = value; } /** *Contains the configuration information of file formats. IoT Analytics data * stores support JSON and Parquet.
*The default file format is JSON. You can specify only one format.
You * can't change the file format after you create the data store.
*/ inline void SetFileFormatConfiguration(FileFormatConfiguration&& value) { m_fileFormatConfigurationHasBeenSet = true; m_fileFormatConfiguration = std::move(value); } /** *Contains the configuration information of file formats. IoT Analytics data * stores support JSON and Parquet.
*The default file format is JSON. You can specify only one format.
You * can't change the file format after you create the data store.
*/ inline Datastore& WithFileFormatConfiguration(const FileFormatConfiguration& value) { SetFileFormatConfiguration(value); return *this;} /** *Contains the configuration information of file formats. IoT Analytics data * stores support JSON and Parquet.
*The default file format is JSON. You can specify only one format.
You * can't change the file format after you create the data store.
*/ inline Datastore& WithFileFormatConfiguration(FileFormatConfiguration&& value) { SetFileFormatConfiguration(std::move(value)); return *this;} /** *Contains information about the partition dimensions in a data store.
*/ inline const DatastorePartitions& GetDatastorePartitions() const{ return m_datastorePartitions; } /** *Contains information about the partition dimensions in a data store.
*/ inline bool DatastorePartitionsHasBeenSet() const { return m_datastorePartitionsHasBeenSet; } /** *Contains information about the partition dimensions in a data store.
*/ inline void SetDatastorePartitions(const DatastorePartitions& value) { m_datastorePartitionsHasBeenSet = true; m_datastorePartitions = value; } /** *Contains information about the partition dimensions in a data store.
*/ inline void SetDatastorePartitions(DatastorePartitions&& value) { m_datastorePartitionsHasBeenSet = true; m_datastorePartitions = std::move(value); } /** *Contains information about the partition dimensions in a data store.
*/ inline Datastore& WithDatastorePartitions(const DatastorePartitions& value) { SetDatastorePartitions(value); return *this;} /** *Contains information about the partition dimensions in a data store.
*/ inline Datastore& WithDatastorePartitions(DatastorePartitions&& value) { SetDatastorePartitions(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; DatastoreStorage m_storage; bool m_storageHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; DatastoreStatus m_status; bool m_statusHasBeenSet = false; RetentionPeriod m_retentionPeriod; bool m_retentionPeriodHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastMessageArrivalTime; bool m_lastMessageArrivalTimeHasBeenSet = false; FileFormatConfiguration m_fileFormatConfiguration; bool m_fileFormatConfigurationHasBeenSet = false; DatastorePartitions m_datastorePartitions; bool m_datastorePartitionsHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws