7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/cognito-sync/model/Operation.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CognitoSync {
43 m_opHasBeenSet =
true;
58 template <
typename KeyT = Aws::String>
60 m_keyHasBeenSet =
true;
61 m_key = std::forward<KeyT>(value);
63 template <
typename KeyT = Aws::String>
65 SetKey(std::forward<KeyT>(value));
76 template <
typename ValueT = Aws::String>
78 m_valueHasBeenSet =
true;
79 m_value = std::forward<ValueT>(value);
81 template <
typename ValueT = Aws::String>
83 SetValue(std::forward<ValueT>(value));
95 m_syncCountHasBeenSet =
true;
110 template <
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
112 m_deviceLastModifiedDateHasBeenSet =
true;
113 m_deviceLastModifiedDate = std::forward<DeviceLastModifiedDateT>(value);
115 template <
typename DeviceLastModifiedDateT = Aws::Utils::DateTime>
128 long long m_syncCount{0};
131 bool m_opHasBeenSet =
false;
132 bool m_keyHasBeenSet =
false;
133 bool m_valueHasBeenSet =
false;
134 bool m_syncCountHasBeenSet =
false;
135 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