7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
35 AWS_COGNITOSYNC_API
Record() =
default;
47 template<
typename KeyT = Aws::String>
48 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
49 template<
typename KeyT = Aws::String>
59 template<
typename ValueT = Aws::String>
60 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
61 template<
typename ValueT = Aws::String>
71 inline void SetSyncCount(
long long value) { m_syncCountHasBeenSet =
true; m_syncCount = value; }
81 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
82 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
83 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
93 template<
typename LastModifiedByT = Aws::String>
94 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
95 template<
typename LastModifiedByT = Aws::String>
105 template<
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
106 void SetDeviceLastModifiedDate(DeviceLastModifiedDateT&& value) { m_deviceLastModifiedDateHasBeenSet =
true; m_deviceLastModifiedDate = std::forward<DeviceLastModifiedDateT>(value); }
107 template<
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
113 bool m_keyHasBeenSet =
false;
116 bool m_valueHasBeenSet =
false;
118 long long m_syncCount{0};
119 bool m_syncCountHasBeenSet =
false;
122 bool m_lastModifiedDateHasBeenSet =
false;
125 bool m_lastModifiedByHasBeenSet =
false;
128 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