/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of information about a data store.See Also:
AWS
* API Reference
The name of the data store.
*/ inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; } /** *The name of the data store.
*/ inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; } /** *The name of the data store.
*/ inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; } /** *The name of the data store.
*/ inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); } /** *The name of the data store.
*/ inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); } /** *The name of the data store.
*/ inline DatastoreSummary& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;} /** *The name of the data store.
*/ inline DatastoreSummary& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;} /** *The name of the data store.
*/ inline DatastoreSummary& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;} /** *Where data in a data store is stored.
*/ inline const DatastoreStorageSummary& GetDatastoreStorage() const{ return m_datastoreStorage; } /** *Where data in a data store is stored.
*/ inline bool DatastoreStorageHasBeenSet() const { return m_datastoreStorageHasBeenSet; } /** *Where data in a data store is stored.
*/ inline void SetDatastoreStorage(const DatastoreStorageSummary& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = value; } /** *Where data in a data store is stored.
*/ inline void SetDatastoreStorage(DatastoreStorageSummary&& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = std::move(value); } /** *Where data in a data store is stored.
*/ inline DatastoreSummary& WithDatastoreStorage(const DatastoreStorageSummary& value) { SetDatastoreStorage(value); return *this;} /** *Where data in a data store is stored.
*/ inline DatastoreSummary& WithDatastoreStorage(DatastoreStorageSummary&& value) { SetDatastoreStorage(std::move(value)); return *this;} /** *The status of the data store.
*/ inline const DatastoreStatus& GetStatus() const{ return m_status; } /** *The status of the data store.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the data store.
*/ inline void SetStatus(const DatastoreStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the data store.
*/ inline void SetStatus(DatastoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the data store.
*/ inline DatastoreSummary& WithStatus(const DatastoreStatus& value) { SetStatus(value); return *this;} /** *The status of the data store.
*/ inline DatastoreSummary& WithStatus(DatastoreStatus&& value) { SetStatus(std::move(value)); return *this;} /** *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 DatastoreSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the data store was created.
*/ inline DatastoreSummary& 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 DatastoreSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The last time the data store was updated.
*/ inline DatastoreSummary& 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 DatastoreSummary& 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 DatastoreSummary& WithLastMessageArrivalTime(Aws::Utils::DateTime&& value) { SetLastMessageArrivalTime(std::move(value)); return *this;} /** *The file format of the data in the data store.
*/ inline const FileFormatType& GetFileFormatType() const{ return m_fileFormatType; } /** *The file format of the data in the data store.
*/ inline bool FileFormatTypeHasBeenSet() const { return m_fileFormatTypeHasBeenSet; } /** *The file format of the data in the data store.
*/ inline void SetFileFormatType(const FileFormatType& value) { m_fileFormatTypeHasBeenSet = true; m_fileFormatType = value; } /** *The file format of the data in the data store.
*/ inline void SetFileFormatType(FileFormatType&& value) { m_fileFormatTypeHasBeenSet = true; m_fileFormatType = std::move(value); } /** *The file format of the data in the data store.
*/ inline DatastoreSummary& WithFileFormatType(const FileFormatType& value) { SetFileFormatType(value); return *this;} /** *The file format of the data in the data store.
*/ inline DatastoreSummary& WithFileFormatType(FileFormatType&& value) { SetFileFormatType(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 DatastoreSummary& WithDatastorePartitions(const DatastorePartitions& value) { SetDatastorePartitions(value); return *this;} /** *Contains information about the partition dimensions in a data store.
*/ inline DatastoreSummary& WithDatastorePartitions(DatastorePartitions&& value) { SetDatastorePartitions(std::move(value)); return *this;} private: Aws::String m_datastoreName; bool m_datastoreNameHasBeenSet = false; DatastoreStorageSummary m_datastoreStorage; bool m_datastoreStorageHasBeenSet = false; DatastoreStatus m_status; bool m_statusHasBeenSet = 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; FileFormatType m_fileFormatType; bool m_fileFormatTypeHasBeenSet = false; DatastorePartitions m_datastorePartitions; bool m_datastorePartitionsHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws