7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/cognito-sync/model/Operation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
58 template<
typename KeyT = Aws::String>
59 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
60 template<
typename KeyT = Aws::String>
70 template<
typename ValueT = Aws::String>
71 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
72 template<
typename ValueT = Aws::String>
82 inline void SetSyncCount(
long long value) { m_syncCountHasBeenSet =
true; m_syncCount = value; }
92 template<
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
93 void SetDeviceLastModifiedDate(DeviceLastModifiedDateT&& value) { m_deviceLastModifiedDateHasBeenSet =
true; m_deviceLastModifiedDate = std::forward<DeviceLastModifiedDateT>(value); }
94 template<
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
100 bool m_opHasBeenSet =
false;
103 bool m_keyHasBeenSet =
false;
106 bool m_valueHasBeenSet =
false;
108 long long m_syncCount{0};
109 bool m_syncCountHasBeenSet =
false;
112 bool m_deviceLastModifiedDateHasBeenSet =
false;
void SetDeviceLastModifiedDate(DeviceLastModifiedDateT &&value)
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool SyncCountHasBeenSet() const
AWS_COGNITOSYNC_API RecordPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOSYNC_API RecordPatch()=default
RecordPatch & WithOp(Operation value)
void SetSyncCount(long long value)
RecordPatch & WithValue(ValueT &&value)
RecordPatch & WithDeviceLastModifiedDate(DeviceLastModifiedDateT &&value)
AWS_COGNITOSYNC_API RecordPatch(Aws::Utils::Json::JsonView jsonValue)
bool DeviceLastModifiedDateHasBeenSet() const
bool ValueHasBeenSet() const
bool OpHasBeenSet() const
void SetKey(KeyT &&value)
const Aws::String & GetKey() const
long long GetSyncCount() const
bool KeyHasBeenSet() const
RecordPatch & WithSyncCount(long long value)
const Aws::String & GetValue() const
void SetOp(Operation value)
void SetValue(ValueT &&value)
const Aws::Utils::DateTime & GetDeviceLastModifiedDate() const
RecordPatch & WithKey(KeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue