AWS SDK for C++  1.8.126
AWS SDK for C++
Dataset.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CognitoSync
23 {
24 namespace Model
25 {
26 
37  {
38  public:
43 
44 
49  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
50 
55  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
56 
61  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
62 
67  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
68 
73  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
74 
79  inline Dataset& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
80 
85  inline Dataset& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
86 
91  inline Dataset& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
92 
93 
98  inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
99 
104  inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
105 
110  inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
111 
116  inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
117 
122  inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
123 
128  inline Dataset& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
129 
134  inline Dataset& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
135 
140  inline Dataset& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
141 
142 
146  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
147 
151  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
152 
156  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
157 
161  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
162 
166  inline Dataset& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
167 
171  inline Dataset& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
172 
173 
177  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
178 
182  inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
183 
187  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
188 
192  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
193 
197  inline Dataset& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
198 
202  inline Dataset& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
203 
204 
208  inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
209 
213  inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
214 
218  inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
219 
223  inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
224 
228  inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
229 
233  inline Dataset& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
234 
238  inline Dataset& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
239 
243  inline Dataset& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
244 
245 
249  inline long long GetDataStorage() const{ return m_dataStorage; }
250 
254  inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
255 
259  inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
260 
264  inline Dataset& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
265 
266 
270  inline long long GetNumRecords() const{ return m_numRecords; }
271 
275  inline bool NumRecordsHasBeenSet() const { return m_numRecordsHasBeenSet; }
276 
280  inline void SetNumRecords(long long value) { m_numRecordsHasBeenSet = true; m_numRecords = value; }
281 
285  inline Dataset& WithNumRecords(long long value) { SetNumRecords(value); return *this;}
286 
287  private:
288 
289  Aws::String m_identityId;
290  bool m_identityIdHasBeenSet;
291 
292  Aws::String m_datasetName;
293  bool m_datasetNameHasBeenSet;
294 
295  Aws::Utils::DateTime m_creationDate;
296  bool m_creationDateHasBeenSet;
297 
298  Aws::Utils::DateTime m_lastModifiedDate;
299  bool m_lastModifiedDateHasBeenSet;
300 
301  Aws::String m_lastModifiedBy;
302  bool m_lastModifiedByHasBeenSet;
303 
304  long long m_dataStorage;
305  bool m_dataStorageHasBeenSet;
306 
307  long long m_numRecords;
308  bool m_numRecordsHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace CognitoSync
313 } // namespace Aws
Aws::CognitoSync::Model::Dataset::WithDatasetName
Dataset & WithDatasetName(const Aws::String &value)
Definition: Dataset.h:128
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CognitoSync::Model::Dataset::WithDatasetName
Dataset & WithDatasetName(const char *value)
Definition: Dataset.h:140
Aws::CognitoSync::Model::Dataset::SetIdentityId
void SetIdentityId(const char *value)
Definition: Dataset.h:73
Aws::CognitoSync::Model::Dataset::DataStorageHasBeenSet
bool DataStorageHasBeenSet() const
Definition: Dataset.h:254
Aws::CognitoSync::Model::Dataset::WithLastModifiedBy
Dataset & WithLastModifiedBy(Aws::String &&value)
Definition: Dataset.h:238
Aws::CognitoSync::Model::Dataset::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: Dataset.h:187
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::Dataset::DatasetNameHasBeenSet
bool DatasetNameHasBeenSet() const
Definition: Dataset.h:104
DateTime.h
Aws::CognitoSync::Model::Dataset::WithDataStorage
Dataset & WithDataStorage(long long value)
Definition: Dataset.h:264
Aws::CognitoSync::Model::Dataset::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: Dataset.h:161
Aws::CognitoSync::Model::Dataset::WithDatasetName
Dataset & WithDatasetName(Aws::String &&value)
Definition: Dataset.h:134
Aws::CognitoSync::Model::Dataset::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: Dataset.h:61
Aws::CognitoSync::Model::Dataset
Definition: Dataset.h:37
Aws::CognitoSync::Model::Dataset::SetDataStorage
void SetDataStorage(long long value)
Definition: Dataset.h:259
Aws::CognitoSync::Model::Dataset::WithIdentityId
Dataset & WithIdentityId(Aws::String &&value)
Definition: Dataset.h:85
Aws::CognitoSync::Model::Dataset::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: Dataset.h:156
Aws::CognitoSync::Model::Dataset::NumRecordsHasBeenSet
bool NumRecordsHasBeenSet() const
Definition: Dataset.h:275
Aws::CognitoSync::Model::Dataset::LastModifiedDateHasBeenSet
bool LastModifiedDateHasBeenSet() const
Definition: Dataset.h:182
Aws::CognitoSync::Model::Dataset::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: Dataset.h:151
Aws::CognitoSync::Model::Dataset::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: Dataset.h:67
Aws::CognitoSync::Model::Dataset::WithLastModifiedDate
Dataset & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: Dataset.h:197
Aws::CognitoSync::Model::Dataset::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: Dataset.h:49
Aws::CognitoSync::Model::Dataset::Dataset
Dataset()
Aws::CognitoSync::Model::Dataset::GetDatasetName
const Aws::String & GetDatasetName() const
Definition: Dataset.h:98
Aws::CognitoSync::Model::Dataset::SetDatasetName
void SetDatasetName(Aws::String &&value)
Definition: Dataset.h:116
Aws::CognitoSync::Model::Dataset::SetLastModifiedBy
void SetLastModifiedBy(const char *value)
Definition: Dataset.h:228
Aws::CognitoSync::Model::Dataset::WithCreationDate
Dataset & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: Dataset.h:166
Aws::CognitoSync::Model::Dataset::LastModifiedByHasBeenSet
bool LastModifiedByHasBeenSet() const
Definition: Dataset.h:213
Aws::CognitoSync::Model::Dataset::WithNumRecords
Dataset & WithNumRecords(long long value)
Definition: Dataset.h:285
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CognitoSync::Model::Dataset::SetLastModifiedBy
void SetLastModifiedBy(const Aws::String &value)
Definition: Dataset.h:218
Aws::CognitoSync::Model::Dataset::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: Dataset.h:192
Aws::CognitoSync::Model::Dataset::operator=
Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CognitoSync::Model::Dataset::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: Dataset.h:55
Aws::CognitoSync::Model::Dataset::GetNumRecords
long long GetNumRecords() const
Definition: Dataset.h:270
Aws::CognitoSync::Model::Dataset::WithLastModifiedDate
Dataset & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: Dataset.h:202
Aws::CognitoSync::Model::Dataset::SetLastModifiedBy
void SetLastModifiedBy(Aws::String &&value)
Definition: Dataset.h:223
Aws::CognitoSync::Model::Dataset::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: Dataset.h:177
Aws::CognitoSync::Model::Dataset::WithIdentityId
Dataset & WithIdentityId(const Aws::String &value)
Definition: Dataset.h:79
Aws::CognitoSync::Model::Dataset::WithIdentityId
Dataset & WithIdentityId(const char *value)
Definition: Dataset.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::Dataset::WithCreationDate
Dataset & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: Dataset.h:171
Aws::CognitoSync::Model::Dataset::SetDatasetName
void SetDatasetName(const Aws::String &value)
Definition: Dataset.h:110
Aws::CognitoSync::Model::Dataset::SetDatasetName
void SetDatasetName(const char *value)
Definition: Dataset.h:122
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CognitoSync::Model::Dataset::WithLastModifiedBy
Dataset & WithLastModifiedBy(const Aws::String &value)
Definition: Dataset.h:233
Aws::CognitoSync::Model::Dataset::Dataset
Dataset(Aws::Utils::Json::JsonView jsonValue)
Aws::CognitoSync::Model::Dataset::GetDataStorage
long long GetDataStorage() const
Definition: Dataset.h:249
Aws::CognitoSync::Model::Dataset::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: Dataset.h:146
Aws::CognitoSync::Model::Dataset::GetLastModifiedBy
const Aws::String & GetLastModifiedBy() const
Definition: Dataset.h:208
Aws::CognitoSync::Model::Dataset::SetNumRecords
void SetNumRecords(long long value)
Definition: Dataset.h:280
Aws::CognitoSync::Model::Dataset::WithLastModifiedBy
Dataset & WithLastModifiedBy(const char *value)
Definition: Dataset.h:243
Aws::CognitoSync::Model::Dataset::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const