AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Dataset.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CognitoSync
23{
24namespace Model
25{
26
36 class Dataset
37 {
38 public:
39 AWS_COGNITOSYNC_API Dataset();
40 AWS_COGNITOSYNC_API Dataset(Aws::Utils::Json::JsonView jsonValue);
41 AWS_COGNITOSYNC_API Dataset& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
51 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
52 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
53 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
54 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
55 inline Dataset& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
56 inline Dataset& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
57 inline Dataset& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
59
61
65 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
66 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
67 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
68 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
69 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
70 inline Dataset& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
71 inline Dataset& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
72 inline Dataset& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
80 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
81 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
82 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
83 inline Dataset& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
84 inline Dataset& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
92 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
93 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
94 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
95 inline Dataset& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
96 inline Dataset& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
104 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
105 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
106 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
107 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
108 inline Dataset& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
109 inline Dataset& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
110 inline Dataset& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
112
114
117 inline long long GetDataStorage() const{ return m_dataStorage; }
118 inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
119 inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
120 inline Dataset& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
122
124
127 inline long long GetNumRecords() const{ return m_numRecords; }
128 inline bool NumRecordsHasBeenSet() const { return m_numRecordsHasBeenSet; }
129 inline void SetNumRecords(long long value) { m_numRecordsHasBeenSet = true; m_numRecords = value; }
130 inline Dataset& WithNumRecords(long long value) { SetNumRecords(value); return *this;}
132 private:
133
134 Aws::String m_identityId;
135 bool m_identityIdHasBeenSet = false;
136
137 Aws::String m_datasetName;
138 bool m_datasetNameHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationDate;
141 bool m_creationDateHasBeenSet = false;
142
143 Aws::Utils::DateTime m_lastModifiedDate;
144 bool m_lastModifiedDateHasBeenSet = false;
145
146 Aws::String m_lastModifiedBy;
147 bool m_lastModifiedByHasBeenSet = false;
148
149 long long m_dataStorage;
150 bool m_dataStorageHasBeenSet = false;
151
152 long long m_numRecords;
153 bool m_numRecordsHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace CognitoSync
158} // namespace Aws
void SetNumRecords(long long value)
Definition Dataset.h:129
bool IdentityIdHasBeenSet() const
Definition Dataset.h:51
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:81
Dataset & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:96
AWS_COGNITOSYNC_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastModifiedByHasBeenSet() const
Definition Dataset.h:104
void SetDataStorage(long long value)
Definition Dataset.h:119
Dataset & WithDatasetName(const Aws::String &value)
Definition Dataset.h:70
void SetIdentityId(const Aws::String &value)
Definition Dataset.h:52
Dataset & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:95
Dataset & WithDatasetName(const char *value)
Definition Dataset.h:72
bool CreationDateHasBeenSet() const
Definition Dataset.h:80
void SetLastModifiedBy(const Aws::String &value)
Definition Dataset.h:105
const Aws::Utils::DateTime & GetCreationDate() const
Definition Dataset.h:79
void SetIdentityId(Aws::String &&value)
Definition Dataset.h:53
Dataset & WithIdentityId(const Aws::String &value)
Definition Dataset.h:55
void SetLastModifiedBy(const char *value)
Definition Dataset.h:107
Dataset & WithIdentityId(const char *value)
Definition Dataset.h:57
bool DatasetNameHasBeenSet() const
Definition Dataset.h:66
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:93
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:82
Dataset & WithLastModifiedBy(const char *value)
Definition Dataset.h:110
long long GetNumRecords() const
Definition Dataset.h:127
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:94
long long GetDataStorage() const
Definition Dataset.h:117
AWS_COGNITOSYNC_API Dataset()
void SetDatasetName(const char *value)
Definition Dataset.h:69
const Aws::String & GetDatasetName() const
Definition Dataset.h:65
void SetIdentityId(const char *value)
Definition Dataset.h:54
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Dataset.h:91
bool LastModifiedDateHasBeenSet() const
Definition Dataset.h:92
Dataset & WithCreationDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:84
Dataset & WithIdentityId(Aws::String &&value)
Definition Dataset.h:56
Dataset & WithLastModifiedBy(const Aws::String &value)
Definition Dataset.h:108
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Dataset & WithLastModifiedBy(Aws::String &&value)
Definition Dataset.h:109
void SetLastModifiedBy(Aws::String &&value)
Definition Dataset.h:106
Dataset & WithNumRecords(long long value)
Definition Dataset.h:130
void SetDatasetName(const Aws::String &value)
Definition Dataset.h:67
void SetDatasetName(Aws::String &&value)
Definition Dataset.h:68
Dataset & WithDataStorage(long long value)
Definition Dataset.h:120
const Aws::String & GetLastModifiedBy() const
Definition Dataset.h:103
AWS_COGNITOSYNC_API Dataset(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithDatasetName(Aws::String &&value)
Definition Dataset.h:71
const Aws::String & GetIdentityId() const
Definition Dataset.h:50
Dataset & WithCreationDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue