AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatastoreSummary.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/DatastoreStorageSummary.h>
10#include <aws/iotanalytics/model/DatastoreStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/iotanalytics/model/FileFormatType.h>
13#include <aws/iotanalytics/model/DatastorePartitions.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace IoTAnalytics
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_IOTANALYTICS_API DatastoreSummary() = default;
40 AWS_IOTANALYTICS_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTANALYTICS_API DatastoreSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDatastoreName() const { return m_datastoreName; }
50 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
51 template<typename DatastoreNameT = Aws::String>
52 void SetDatastoreName(DatastoreNameT&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::forward<DatastoreNameT>(value); }
53 template<typename DatastoreNameT = Aws::String>
54 DatastoreSummary& WithDatastoreName(DatastoreNameT&& value) { SetDatastoreName(std::forward<DatastoreNameT>(value)); return *this;}
56
58
61 inline const DatastoreStorageSummary& GetDatastoreStorage() const { return m_datastoreStorage; }
62 inline bool DatastoreStorageHasBeenSet() const { return m_datastoreStorageHasBeenSet; }
63 template<typename DatastoreStorageT = DatastoreStorageSummary>
64 void SetDatastoreStorage(DatastoreStorageT&& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = std::forward<DatastoreStorageT>(value); }
65 template<typename DatastoreStorageT = DatastoreStorageSummary>
66 DatastoreSummary& WithDatastoreStorage(DatastoreStorageT&& value) { SetDatastoreStorage(std::forward<DatastoreStorageT>(value)); return *this;}
68
70
73 inline DatastoreStatus GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(DatastoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
76 inline DatastoreSummary& WithStatus(DatastoreStatus value) { SetStatus(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
84 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
87 template<typename CreationTimeT = Aws::Utils::DateTime>
88 DatastoreSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
96 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
97 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
98 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
99 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
100 DatastoreSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
102
104
111 inline const Aws::Utils::DateTime& GetLastMessageArrivalTime() const { return m_lastMessageArrivalTime; }
112 inline bool LastMessageArrivalTimeHasBeenSet() const { return m_lastMessageArrivalTimeHasBeenSet; }
113 template<typename LastMessageArrivalTimeT = Aws::Utils::DateTime>
114 void SetLastMessageArrivalTime(LastMessageArrivalTimeT&& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = std::forward<LastMessageArrivalTimeT>(value); }
115 template<typename LastMessageArrivalTimeT = Aws::Utils::DateTime>
116 DatastoreSummary& WithLastMessageArrivalTime(LastMessageArrivalTimeT&& value) { SetLastMessageArrivalTime(std::forward<LastMessageArrivalTimeT>(value)); return *this;}
118
120
123 inline FileFormatType GetFileFormatType() const { return m_fileFormatType; }
124 inline bool FileFormatTypeHasBeenSet() const { return m_fileFormatTypeHasBeenSet; }
125 inline void SetFileFormatType(FileFormatType value) { m_fileFormatTypeHasBeenSet = true; m_fileFormatType = value; }
128
130
133 inline const DatastorePartitions& GetDatastorePartitions() const { return m_datastorePartitions; }
134 inline bool DatastorePartitionsHasBeenSet() const { return m_datastorePartitionsHasBeenSet; }
135 template<typename DatastorePartitionsT = DatastorePartitions>
136 void SetDatastorePartitions(DatastorePartitionsT&& value) { m_datastorePartitionsHasBeenSet = true; m_datastorePartitions = std::forward<DatastorePartitionsT>(value); }
137 template<typename DatastorePartitionsT = DatastorePartitions>
138 DatastoreSummary& WithDatastorePartitions(DatastorePartitionsT&& value) { SetDatastorePartitions(std::forward<DatastorePartitionsT>(value)); return *this;}
140 private:
141
142 Aws::String m_datastoreName;
143 bool m_datastoreNameHasBeenSet = false;
144
145 DatastoreStorageSummary m_datastoreStorage;
146 bool m_datastoreStorageHasBeenSet = false;
147
149 bool m_statusHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTime{};
152 bool m_creationTimeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastUpdateTime{};
155 bool m_lastUpdateTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastMessageArrivalTime{};
158 bool m_lastMessageArrivalTimeHasBeenSet = false;
159
160 FileFormatType m_fileFormatType{FileFormatType::NOT_SET};
161 bool m_fileFormatTypeHasBeenSet = false;
162
163 DatastorePartitions m_datastorePartitions;
164 bool m_datastorePartitionsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace IoTAnalytics
169} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdateTime() const
DatastoreSummary & WithFileFormatType(FileFormatType value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API DatastoreSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DatastorePartitions & GetDatastorePartitions() const
DatastoreSummary & WithDatastoreName(DatastoreNameT &&value)
const Aws::Utils::DateTime & GetLastMessageArrivalTime() const
void SetCreationTime(CreationTimeT &&value)
DatastoreSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::String & GetDatastoreName() const
DatastoreSummary & WithDatastoreStorage(DatastoreStorageT &&value)
DatastoreSummary & WithDatastorePartitions(DatastorePartitionsT &&value)
DatastoreSummary & WithStatus(DatastoreStatus value)
DatastoreSummary & WithCreationTime(CreationTimeT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
AWS_IOTANALYTICS_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_IOTANALYTICS_API DatastoreSummary()=default
DatastoreSummary & WithLastMessageArrivalTime(LastMessageArrivalTimeT &&value)
void SetLastMessageArrivalTime(LastMessageArrivalTimeT &&value)
void SetDatastoreName(DatastoreNameT &&value)
void SetDatastoreStorage(DatastoreStorageT &&value)
const DatastoreStorageSummary & GetDatastoreStorage() const
void SetDatastorePartitions(DatastorePartitionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue