AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdentityIdT = Aws::String>
53 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
54 template<typename IdentityIdT = Aws::String>
55 Dataset& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
57
59
63 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
64 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
65 template<typename DatasetNameT = Aws::String>
66 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
67 template<typename DatasetNameT = Aws::String>
68 Dataset& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
76 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
77 template<typename CreationDateT = Aws::Utils::DateTime>
78 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
79 template<typename CreationDateT = Aws::Utils::DateTime>
80 Dataset& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
88 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
89 template<typename LastModifiedDateT = Aws::Utils::DateTime>
90 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
91 template<typename LastModifiedDateT = Aws::Utils::DateTime>
92 Dataset& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
94
96
99 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
100 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
101 template<typename LastModifiedByT = Aws::String>
102 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
103 template<typename LastModifiedByT = Aws::String>
104 Dataset& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
106
108
111 inline long long GetDataStorage() const { return m_dataStorage; }
112 inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
113 inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
114 inline Dataset& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
116
118
121 inline long long GetNumRecords() const { return m_numRecords; }
122 inline bool NumRecordsHasBeenSet() const { return m_numRecordsHasBeenSet; }
123 inline void SetNumRecords(long long value) { m_numRecordsHasBeenSet = true; m_numRecords = value; }
124 inline Dataset& WithNumRecords(long long value) { SetNumRecords(value); return *this;}
126 private:
127
128 Aws::String m_identityId;
129 bool m_identityIdHasBeenSet = false;
130
131 Aws::String m_datasetName;
132 bool m_datasetNameHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationDate{};
135 bool m_creationDateHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastModifiedDate{};
138 bool m_lastModifiedDateHasBeenSet = false;
139
140 Aws::String m_lastModifiedBy;
141 bool m_lastModifiedByHasBeenSet = false;
142
143 long long m_dataStorage{0};
144 bool m_dataStorageHasBeenSet = false;
145
146 long long m_numRecords{0};
147 bool m_numRecordsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace CognitoSync
152} // namespace Aws
void SetNumRecords(long long value)
Definition Dataset.h:123
bool IdentityIdHasBeenSet() const
Definition Dataset.h:51
AWS_COGNITOSYNC_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastModifiedByHasBeenSet() const
Definition Dataset.h:100
void SetDataStorage(long long value)
Definition Dataset.h:113
bool CreationDateHasBeenSet() const
Definition Dataset.h:76
const Aws::Utils::DateTime & GetCreationDate() const
Definition Dataset.h:75
Dataset & WithIdentityId(IdentityIdT &&value)
Definition Dataset.h:55
Dataset & WithCreationDate(CreationDateT &&value)
Definition Dataset.h:80
void SetIdentityId(IdentityIdT &&value)
Definition Dataset.h:53
AWS_COGNITOSYNC_API Dataset()=default
bool DatasetNameHasBeenSet() const
Definition Dataset.h:64
Dataset & WithDatasetName(DatasetNameT &&value)
Definition Dataset.h:68
long long GetNumRecords() const
Definition Dataset.h:121
long long GetDataStorage() const
Definition Dataset.h:111
const Aws::String & GetDatasetName() const
Definition Dataset.h:63
Dataset & WithLastModifiedDate(LastModifiedDateT &&value)
Definition Dataset.h:92
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Dataset.h:87
bool LastModifiedDateHasBeenSet() const
Definition Dataset.h:88
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Dataset & WithNumRecords(long long value)
Definition Dataset.h:124
void SetDatasetName(DatasetNameT &&value)
Definition Dataset.h:66
Dataset & WithDataStorage(long long value)
Definition Dataset.h:114
void SetLastModifiedBy(LastModifiedByT &&value)
Definition Dataset.h:102
const Aws::String & GetLastModifiedBy() const
Definition Dataset.h:99
AWS_COGNITOSYNC_API Dataset(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentityId() const
Definition Dataset.h:50
Dataset & WithLastModifiedBy(LastModifiedByT &&value)
Definition Dataset.h:104
void SetCreationDate(CreationDateT &&value)
Definition Dataset.h:78
void SetLastModifiedDate(LastModifiedDateT &&value)
Definition Dataset.h:90
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue