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>
48 inline void SetOp(
const Operation& value) { m_opHasBeenSet =
true; m_op = value; }
49 inline void SetOp(
Operation&& value) { m_opHasBeenSet =
true; m_op = std::move(value); }
61 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
62 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
76 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
88 inline void SetSyncCount(
long long value) { m_syncCountHasBeenSet =
true; m_syncCount = value; }
106 bool m_opHasBeenSet =
false;
109 bool m_keyHasBeenSet =
false;
112 bool m_valueHasBeenSet =
false;
114 long long m_syncCount;
115 bool m_syncCountHasBeenSet =
false;
118 bool m_deviceLastModifiedDateHasBeenSet =
false;
RecordPatch & WithKey(const Aws::String &value)
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
RecordPatch & WithDeviceLastModifiedDate(const Aws::Utils::DateTime &value)
RecordPatch & WithOp(const Operation &value)
bool SyncCountHasBeenSet() const
RecordPatch & WithKey(Aws::String &&value)
RecordPatch & WithValue(const char *value)
AWS_COGNITOSYNC_API RecordPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
RecordPatch & WithOp(Operation &&value)
void SetSyncCount(long long value)
void SetDeviceLastModifiedDate(Aws::Utils::DateTime &&value)
AWS_COGNITOSYNC_API RecordPatch(Aws::Utils::Json::JsonView jsonValue)
void SetValue(Aws::String &&value)
const Operation & GetOp() const
RecordPatch & WithKey(const char *value)
bool DeviceLastModifiedDateHasBeenSet() const
void SetKey(Aws::String &&value)
RecordPatch & WithValue(Aws::String &&value)
bool ValueHasBeenSet() const
bool OpHasBeenSet() const
const Aws::String & GetKey() const
void SetValue(const char *value)
long long GetSyncCount() const
void SetOp(const Operation &value)
void SetDeviceLastModifiedDate(const Aws::Utils::DateTime &value)
bool KeyHasBeenSet() const
RecordPatch & WithSyncCount(long long value)
AWS_COGNITOSYNC_API RecordPatch()
void SetOp(Operation &&value)
const Aws::String & GetValue() const
RecordPatch & WithValue(const Aws::String &value)
RecordPatch & WithDeviceLastModifiedDate(Aws::Utils::DateTime &&value)
void SetKey(const char *value)
void SetKey(const Aws::String &value)
void SetValue(const Aws::String &value)
const Aws::Utils::DateTime & GetDeviceLastModifiedDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue