7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CognitoSync {
30 AWS_COGNITOSYNC_API
Record() =
default;
41 template <
typename KeyT = Aws::String>
43 m_keyHasBeenSet =
true;
44 m_key = std::forward<KeyT>(value);
46 template <
typename KeyT = Aws::String>
48 SetKey(std::forward<KeyT>(value));
59 template <
typename ValueT = Aws::String>
61 m_valueHasBeenSet =
true;
62 m_value = std::forward<ValueT>(value);
64 template <
typename ValueT = Aws::String>
66 SetValue(std::forward<ValueT>(value));
78 m_syncCountHasBeenSet =
true;
93 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
95 m_lastModifiedDateHasBeenSet =
true;
96 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
98 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
111 template <
typename LastModifiedByT = Aws::String>
113 m_lastModifiedByHasBeenSet =
true;
114 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
116 template <
typename LastModifiedByT = Aws::String>
129 template <
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
131 m_deviceLastModifiedDateHasBeenSet =
true;
132 m_deviceLastModifiedDate = std::forward<DeviceLastModifiedDateT>(value);
134 template <
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
145 long long m_syncCount{0};
152 bool m_keyHasBeenSet =
false;
153 bool m_valueHasBeenSet =
false;
154 bool m_syncCountHasBeenSet =
false;
155 bool m_lastModifiedDateHasBeenSet =
false;
156 bool m_lastModifiedByHasBeenSet =
false;
157 bool m_deviceLastModifiedDateHasBeenSet =
false;
void SetKey(KeyT &&value)
bool LastModifiedDateHasBeenSet() const
const Aws::Utils::DateTime & GetDeviceLastModifiedDate() const
AWS_COGNITOSYNC_API Record()=default
AWS_COGNITOSYNC_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
Record & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetLastModifiedBy() const
bool SyncCountHasBeenSet() const
void SetDeviceLastModifiedDate(DeviceLastModifiedDateT &&value)
AWS_COGNITOSYNC_API Record(Aws::Utils::Json::JsonView jsonValue)
bool DeviceLastModifiedDateHasBeenSet() const
void SetSyncCount(long long value)
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Record & WithSyncCount(long long value)
bool LastModifiedByHasBeenSet() const
const Aws::String & GetKey() const
void SetLastModifiedDate(LastModifiedDateT &&value)
Record & WithKey(KeyT &&value)
const Aws::String & GetValue() const
long long GetSyncCount() const
bool KeyHasBeenSet() const
Record & WithDeviceLastModifiedDate(DeviceLastModifiedDateT &&value)
bool ValueHasBeenSet() const
Record & WithLastModifiedBy(LastModifiedByT &&value)
Record & WithValue(ValueT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetValue(ValueT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue