AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
52 inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
53 inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
54 inline DatastoreSummary& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
55 inline DatastoreSummary& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
56 inline DatastoreSummary& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
58
60
63 inline const DatastoreStorageSummary& GetDatastoreStorage() const{ return m_datastoreStorage; }
64 inline bool DatastoreStorageHasBeenSet() const { return m_datastoreStorageHasBeenSet; }
65 inline void SetDatastoreStorage(const DatastoreStorageSummary& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = value; }
66 inline void SetDatastoreStorage(DatastoreStorageSummary&& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = std::move(value); }
68 inline DatastoreSummary& WithDatastoreStorage(DatastoreStorageSummary&& value) { SetDatastoreStorage(std::move(value)); return *this;}
70
72
75 inline const DatastoreStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const DatastoreStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(DatastoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline DatastoreSummary& WithStatus(const DatastoreStatus& value) { SetStatus(value); return *this;}
80 inline DatastoreSummary& WithStatus(DatastoreStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
88 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
89 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
90 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
91 inline DatastoreSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
92 inline DatastoreSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
100 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
101 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
102 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
103 inline DatastoreSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
104 inline DatastoreSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
106
108
115 inline const Aws::Utils::DateTime& GetLastMessageArrivalTime() const{ return m_lastMessageArrivalTime; }
116 inline bool LastMessageArrivalTimeHasBeenSet() const { return m_lastMessageArrivalTimeHasBeenSet; }
117 inline void SetLastMessageArrivalTime(const Aws::Utils::DateTime& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = value; }
118 inline void SetLastMessageArrivalTime(Aws::Utils::DateTime&& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = std::move(value); }
122
124
127 inline const FileFormatType& GetFileFormatType() const{ return m_fileFormatType; }
128 inline bool FileFormatTypeHasBeenSet() const { return m_fileFormatTypeHasBeenSet; }
129 inline void SetFileFormatType(const FileFormatType& value) { m_fileFormatTypeHasBeenSet = true; m_fileFormatType = value; }
130 inline void SetFileFormatType(FileFormatType&& value) { m_fileFormatTypeHasBeenSet = true; m_fileFormatType = std::move(value); }
131 inline DatastoreSummary& WithFileFormatType(const FileFormatType& value) { SetFileFormatType(value); return *this;}
132 inline DatastoreSummary& WithFileFormatType(FileFormatType&& value) { SetFileFormatType(std::move(value)); return *this;}
134
136
139 inline const DatastorePartitions& GetDatastorePartitions() const{ return m_datastorePartitions; }
140 inline bool DatastorePartitionsHasBeenSet() const { return m_datastorePartitionsHasBeenSet; }
141 inline void SetDatastorePartitions(const DatastorePartitions& value) { m_datastorePartitionsHasBeenSet = true; m_datastorePartitions = value; }
142 inline void SetDatastorePartitions(DatastorePartitions&& value) { m_datastorePartitionsHasBeenSet = true; m_datastorePartitions = std::move(value); }
144 inline DatastoreSummary& WithDatastorePartitions(DatastorePartitions&& value) { SetDatastorePartitions(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_datastoreName;
149 bool m_datastoreNameHasBeenSet = false;
150
151 DatastoreStorageSummary m_datastoreStorage;
152 bool m_datastoreStorageHasBeenSet = false;
153
154 DatastoreStatus m_status;
155 bool m_statusHasBeenSet = false;
156
157 Aws::Utils::DateTime m_creationTime;
158 bool m_creationTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_lastUpdateTime;
161 bool m_lastUpdateTimeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastMessageArrivalTime;
164 bool m_lastMessageArrivalTimeHasBeenSet = false;
165
166 FileFormatType m_fileFormatType;
167 bool m_fileFormatTypeHasBeenSet = false;
168
169 DatastorePartitions m_datastorePartitions;
170 bool m_datastorePartitionsHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace IoTAnalytics
175} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
const FileFormatType & GetFileFormatType() const
void SetStatus(DatastoreStatus &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API DatastoreSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatastoreSummary & WithDatastoreStorage(DatastoreStorageSummary &&value)
void SetDatastoreStorage(DatastoreStorageSummary &&value)
DatastoreSummary & WithDatastoreName(Aws::String &&value)
const DatastorePartitions & GetDatastorePartitions() const
DatastoreSummary & WithStatus(DatastoreStatus &&value)
void SetDatastorePartitions(DatastorePartitions &&value)
const Aws::Utils::DateTime & GetLastMessageArrivalTime() const
void SetDatastoreStorage(const DatastoreStorageSummary &value)
void SetStatus(const DatastoreStatus &value)
DatastoreSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetDatastoreName(const Aws::String &value)
DatastoreSummary & WithDatastoreName(const Aws::String &value)
const Aws::String & GetDatastoreName() const
DatastoreSummary & WithDatastorePartitions(const DatastorePartitions &value)
void SetLastMessageArrivalTime(const Aws::Utils::DateTime &value)
void SetDatastorePartitions(const DatastorePartitions &value)
DatastoreSummary & WithLastMessageArrivalTime(Aws::Utils::DateTime &&value)
void SetFileFormatType(const FileFormatType &value)
DatastoreSummary & WithDatastorePartitions(DatastorePartitions &&value)
void SetFileFormatType(FileFormatType &&value)
DatastoreSummary & WithDatastoreName(const char *value)
DatastoreSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_IOTANALYTICS_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue)
DatastoreSummary & WithFileFormatType(FileFormatType &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const DatastoreStatus & GetStatus() const
DatastoreSummary & WithLastMessageArrivalTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DatastoreSummary & WithFileFormatType(const FileFormatType &value)
DatastoreSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
DatastoreSummary & WithDatastoreStorage(const DatastoreStorageSummary &value)
DatastoreSummary & WithStatus(const DatastoreStatus &value)
DatastoreSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
void SetLastMessageArrivalTime(Aws::Utils::DateTime &&value)
const DatastoreStorageSummary & GetDatastoreStorage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue