7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/DatastoreStorage.h>
10#include <aws/iotanalytics/model/DatastoreStatus.h>
11#include <aws/iotanalytics/model/RetentionPeriod.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/iotanalytics/model/FileFormatConfiguration.h>
14#include <aws/iotanalytics/model/DatastorePartitions.h>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
68 template<
typename StorageT = DatastoreStorage>
69 void SetStorage(StorageT&& value) { m_storageHasBeenSet =
true; m_storage = std::forward<StorageT>(value); }
70 template<
typename StorageT = DatastoreStorage>
80 template<
typename ArnT = Aws::String>
81 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
82 template<
typename ArnT = Aws::String>
107 template<
typename RetentionPeriodT = RetentionPeriod>
108 void SetRetentionPeriod(RetentionPeriodT&& value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = std::forward<RetentionPeriodT>(value); }
109 template<
typename RetentionPeriodT = RetentionPeriod>
119 template<
typename CreationTimeT = Aws::Utils::DateTime>
120 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
121 template<
typename CreationTimeT = Aws::Utils::DateTime>
131 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
132 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet =
true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
133 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
147 template<
typename LastMessageArrivalTimeT = Aws::Utils::DateTime>
148 void SetLastMessageArrivalTime(LastMessageArrivalTimeT&& value) { m_lastMessageArrivalTimeHasBeenSet =
true; m_lastMessageArrivalTime = std::forward<LastMessageArrivalTimeT>(value); }
149 template<
typename LastMessageArrivalTimeT = Aws::Utils::DateTime>
162 template<
typename FileFormatConfigurationT = FileFormatConfiguration>
163 void SetFileFormatConfiguration(FileFormatConfigurationT&& value) { m_fileFormatConfigurationHasBeenSet =
true; m_fileFormatConfiguration = std::forward<FileFormatConfigurationT>(value); }
164 template<
typename FileFormatConfigurationT = FileFormatConfiguration>
174 template<
typename DatastorePartitionsT = DatastorePartitions>
175 void SetDatastorePartitions(DatastorePartitionsT&& value) { m_datastorePartitionsHasBeenSet =
true; m_datastorePartitions = std::forward<DatastorePartitionsT>(value); }
176 template<
typename DatastorePartitionsT = DatastorePartitions>
182 bool m_nameHasBeenSet =
false;
185 bool m_storageHasBeenSet =
false;
188 bool m_arnHasBeenSet =
false;
191 bool m_statusHasBeenSet =
false;
193 RetentionPeriod m_retentionPeriod;
194 bool m_retentionPeriodHasBeenSet =
false;
197 bool m_creationTimeHasBeenSet =
false;
200 bool m_lastUpdateTimeHasBeenSet =
false;
203 bool m_lastMessageArrivalTimeHasBeenSet =
false;
205 FileFormatConfiguration m_fileFormatConfiguration;
206 bool m_fileFormatConfigurationHasBeenSet =
false;
208 DatastorePartitions m_datastorePartitions;
209 bool m_datastorePartitionsHasBeenSet =
false;
const DatastoreStorage & GetStorage() const
Datastore & WithArn(ArnT &&value)
const Aws::String & GetArn() const
bool NameHasBeenSet() const
Datastore & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
Datastore & WithName(NameT &&value)
AWS_IOTANALYTICS_API Datastore()=default
void SetName(NameT &&value)
Datastore & WithLastMessageArrivalTime(LastMessageArrivalTimeT &&value)
bool StorageHasBeenSet() const
void SetRetentionPeriod(RetentionPeriodT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetLastMessageArrivalTime() const
AWS_IOTANALYTICS_API Datastore(Aws::Utils::Json::JsonView jsonValue)
Datastore & WithCreationTime(CreationTimeT &&value)
bool RetentionPeriodHasBeenSet() const
const DatastorePartitions & GetDatastorePartitions() const
void SetLastMessageArrivalTime(LastMessageArrivalTimeT &&value)
Datastore & WithStatus(DatastoreStatus value)
bool StatusHasBeenSet() const
bool FileFormatConfigurationHasBeenSet() const
bool DatastorePartitionsHasBeenSet() const
AWS_IOTANALYTICS_API Datastore & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStorage(StorageT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
bool LastMessageArrivalTimeHasBeenSet() const
Datastore & WithFileFormatConfiguration(FileFormatConfigurationT &&value)
void SetFileFormatConfiguration(FileFormatConfigurationT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
const RetentionPeriod & GetRetentionPeriod() const
bool CreationTimeHasBeenSet() const
bool ArnHasBeenSet() const
bool LastUpdateTimeHasBeenSet() const
void SetStatus(DatastoreStatus value)
Datastore & WithRetentionPeriod(RetentionPeriodT &&value)
Datastore & WithDatastorePartitions(DatastorePartitionsT &&value)
DatastoreStatus GetStatus() const
void SetCreationTime(CreationTimeT &&value)
Datastore & WithStorage(StorageT &&value)
void SetDatastorePartitions(DatastorePartitionsT &&value)
void SetArn(ArnT &&value)
const FileFormatConfiguration & GetFileFormatConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue