AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Datastore.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace IoTAnalytics
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_IOTANALYTICS_API Datastore();
41 AWS_IOTANALYTICS_API Datastore(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTANALYTICS_API Datastore& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline Datastore& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline Datastore& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline Datastore& WithName(const char* value) { SetName(value); return *this;}
59
61
68 inline const DatastoreStorage& GetStorage() const{ return m_storage; }
69 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
70 inline void SetStorage(const DatastoreStorage& value) { m_storageHasBeenSet = true; m_storage = value; }
71 inline void SetStorage(DatastoreStorage&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
72 inline Datastore& WithStorage(const DatastoreStorage& value) { SetStorage(value); return *this;}
73 inline Datastore& WithStorage(DatastoreStorage&& value) { SetStorage(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetArn() const{ return m_arn; }
81 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
82 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
83 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
84 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
85 inline Datastore& WithArn(const Aws::String& value) { SetArn(value); return *this;}
86 inline Datastore& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
87 inline Datastore& WithArn(const char* value) { SetArn(value); return *this;}
89
91
97 inline const DatastoreStatus& GetStatus() const{ return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(const DatastoreStatus& value) { m_statusHasBeenSet = true; m_status = value; }
100 inline void SetStatus(DatastoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101 inline Datastore& WithStatus(const DatastoreStatus& value) { SetStatus(value); return *this;}
102 inline Datastore& WithStatus(DatastoreStatus&& value) { SetStatus(std::move(value)); return *this;}
104
106
111 inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
112 inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
113 inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
114 inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
115 inline Datastore& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
116 inline Datastore& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
124 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
125 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
126 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
127 inline Datastore& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
128 inline Datastore& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
136 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
137 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
138 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
139 inline Datastore& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
140 inline Datastore& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
142
144
151 inline const Aws::Utils::DateTime& GetLastMessageArrivalTime() const{ return m_lastMessageArrivalTime; }
152 inline bool LastMessageArrivalTimeHasBeenSet() const { return m_lastMessageArrivalTimeHasBeenSet; }
153 inline void SetLastMessageArrivalTime(const Aws::Utils::DateTime& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = value; }
154 inline void SetLastMessageArrivalTime(Aws::Utils::DateTime&& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = std::move(value); }
156 inline Datastore& WithLastMessageArrivalTime(Aws::Utils::DateTime&& value) { SetLastMessageArrivalTime(std::move(value)); return *this;}
158
160
166 inline const FileFormatConfiguration& GetFileFormatConfiguration() const{ return m_fileFormatConfiguration; }
167 inline bool FileFormatConfigurationHasBeenSet() const { return m_fileFormatConfigurationHasBeenSet; }
168 inline void SetFileFormatConfiguration(const FileFormatConfiguration& value) { m_fileFormatConfigurationHasBeenSet = true; m_fileFormatConfiguration = value; }
169 inline void SetFileFormatConfiguration(FileFormatConfiguration&& value) { m_fileFormatConfigurationHasBeenSet = true; m_fileFormatConfiguration = std::move(value); }
173
175
178 inline const DatastorePartitions& GetDatastorePartitions() const{ return m_datastorePartitions; }
179 inline bool DatastorePartitionsHasBeenSet() const { return m_datastorePartitionsHasBeenSet; }
180 inline void SetDatastorePartitions(const DatastorePartitions& value) { m_datastorePartitionsHasBeenSet = true; m_datastorePartitions = value; }
181 inline void SetDatastorePartitions(DatastorePartitions&& value) { m_datastorePartitionsHasBeenSet = true; m_datastorePartitions = std::move(value); }
183 inline Datastore& WithDatastorePartitions(DatastorePartitions&& value) { SetDatastorePartitions(std::move(value)); return *this;}
185 private:
186
187 Aws::String m_name;
188 bool m_nameHasBeenSet = false;
189
190 DatastoreStorage m_storage;
191 bool m_storageHasBeenSet = false;
192
193 Aws::String m_arn;
194 bool m_arnHasBeenSet = false;
195
196 DatastoreStatus m_status;
197 bool m_statusHasBeenSet = false;
198
199 RetentionPeriod m_retentionPeriod;
200 bool m_retentionPeriodHasBeenSet = false;
201
202 Aws::Utils::DateTime m_creationTime;
203 bool m_creationTimeHasBeenSet = false;
204
205 Aws::Utils::DateTime m_lastUpdateTime;
206 bool m_lastUpdateTimeHasBeenSet = false;
207
208 Aws::Utils::DateTime m_lastMessageArrivalTime;
209 bool m_lastMessageArrivalTimeHasBeenSet = false;
210
211 FileFormatConfiguration m_fileFormatConfiguration;
212 bool m_fileFormatConfigurationHasBeenSet = false;
213
214 DatastorePartitions m_datastorePartitions;
215 bool m_datastorePartitionsHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace IoTAnalytics
220} // namespace Aws
Datastore & WithRetentionPeriod(RetentionPeriod &&value)
Definition Datastore.h:116
const DatastoreStorage & GetStorage() const
Definition Datastore.h:68
AWS_IOTANALYTICS_API Datastore()
const Aws::String & GetArn() const
Definition Datastore.h:80
void SetArn(const char *value)
Definition Datastore.h:84
Datastore & WithRetentionPeriod(const RetentionPeriod &value)
Definition Datastore.h:115
void SetStorage(const DatastoreStorage &value)
Definition Datastore.h:70
const Aws::Utils::DateTime & GetCreationTime() const
Definition Datastore.h:123
void SetName(Aws::String &&value)
Definition Datastore.h:53
void SetDatastorePartitions(DatastorePartitions &&value)
Definition Datastore.h:181
void SetDatastorePartitions(const DatastorePartitions &value)
Definition Datastore.h:180
const Aws::String & GetName() const
Definition Datastore.h:50
Datastore & WithStorage(const DatastoreStorage &value)
Definition Datastore.h:72
void SetLastMessageArrivalTime(const Aws::Utils::DateTime &value)
Definition Datastore.h:153
Datastore & WithName(const Aws::String &value)
Definition Datastore.h:55
void SetStorage(DatastoreStorage &&value)
Definition Datastore.h:71
const Aws::Utils::DateTime & GetLastMessageArrivalTime() const
Definition Datastore.h:151
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Definition Datastore.h:138
Datastore & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Datastore.h:128
AWS_IOTANALYTICS_API Datastore(Aws::Utils::Json::JsonView jsonValue)
const DatastorePartitions & GetDatastorePartitions() const
Definition Datastore.h:178
bool FileFormatConfigurationHasBeenSet() const
Definition Datastore.h:167
void SetArn(Aws::String &&value)
Definition Datastore.h:83
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Datastore.h:125
void SetRetentionPeriod(const RetentionPeriod &value)
Definition Datastore.h:113
Datastore & WithStorage(DatastoreStorage &&value)
Definition Datastore.h:73
AWS_IOTANALYTICS_API Datastore & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const DatastoreStatus &value)
Definition Datastore.h:99
Datastore & WithArn(const char *value)
Definition Datastore.h:87
Datastore & WithLastMessageArrivalTime(const Aws::Utils::DateTime &value)
Definition Datastore.h:155
bool LastMessageArrivalTimeHasBeenSet() const
Definition Datastore.h:152
const DatastoreStatus & GetStatus() const
Definition Datastore.h:97
Datastore & WithArn(const Aws::String &value)
Definition Datastore.h:85
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Datastore.h:126
Datastore & WithLastMessageArrivalTime(Aws::Utils::DateTime &&value)
Definition Datastore.h:156
Datastore & WithStatus(DatastoreStatus &&value)
Definition Datastore.h:102
void SetName(const Aws::String &value)
Definition Datastore.h:52
Datastore & WithDatastorePartitions(DatastorePartitions &&value)
Definition Datastore.h:183
Datastore & WithFileFormatConfiguration(FileFormatConfiguration &&value)
Definition Datastore.h:171
const Aws::Utils::DateTime & GetLastUpdateTime() const
Definition Datastore.h:135
void SetStatus(DatastoreStatus &&value)
Definition Datastore.h:100
void SetFileFormatConfiguration(const FileFormatConfiguration &value)
Definition Datastore.h:168
Datastore & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Datastore.h:127
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
const RetentionPeriod & GetRetentionPeriod() const
Definition Datastore.h:111
void SetLastMessageArrivalTime(Aws::Utils::DateTime &&value)
Definition Datastore.h:154
Datastore & WithStatus(const DatastoreStatus &value)
Definition Datastore.h:101
Datastore & WithName(Aws::String &&value)
Definition Datastore.h:56
void SetRetentionPeriod(RetentionPeriod &&value)
Definition Datastore.h:114
Datastore & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Definition Datastore.h:140
Datastore & WithDatastorePartitions(const DatastorePartitions &value)
Definition Datastore.h:182
Datastore & WithFileFormatConfiguration(const FileFormatConfiguration &value)
Definition Datastore.h:170
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Definition Datastore.h:137
void SetFileFormatConfiguration(FileFormatConfiguration &&value)
Definition Datastore.h:169
Datastore & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Definition Datastore.h:139
Datastore & WithName(const char *value)
Definition Datastore.h:57
void SetName(const char *value)
Definition Datastore.h:54
Datastore & WithArn(Aws::String &&value)
Definition Datastore.h:86
const FileFormatConfiguration & GetFileFormatConfiguration() const
Definition Datastore.h:166
void SetArn(const Aws::String &value)
Definition Datastore.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue