7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/cognito-sync/CognitoSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cognito-sync/model/RecordPatch.h>
52 inline void SetIdentityPoolId(
const char* value) { m_identityPoolIdHasBeenSet =
true; m_identityPoolId.assign(value); }
67 inline void SetIdentityId(
const char* value) { m_identityIdHasBeenSet =
true; m_identityId.assign(value); }
82 inline void SetDatasetName(
const char* value) { m_datasetNameHasBeenSet =
true; m_datasetName.assign(value); }
96 inline void SetDeviceId(
const char* value) { m_deviceIdHasBeenSet =
true; m_deviceId.assign(value); }
125 inline void SetSyncSessionToken(
const char* value) { m_syncSessionTokenHasBeenSet =
true; m_syncSessionToken.assign(value); }
140 inline void SetClientContext(
const char* value) { m_clientContextHasBeenSet =
true; m_clientContext.assign(value); }
148 bool m_identityPoolIdHasBeenSet =
false;
151 bool m_identityIdHasBeenSet =
false;
154 bool m_datasetNameHasBeenSet =
false;
157 bool m_deviceIdHasBeenSet =
false;
160 bool m_recordPatchesHasBeenSet =
false;
163 bool m_syncSessionTokenHasBeenSet =
false;
166 bool m_clientContextHasBeenSet =
false;
const Aws::String & GetDeviceId() const
void SetIdentityId(Aws::String &&value)
void SetIdentityPoolId(Aws::String &&value)
void SetClientContext(const Aws::String &value)
void SetRecordPatches(Aws::Vector< RecordPatch > &&value)
void SetDeviceId(const Aws::String &value)
UpdateRecordsRequest & WithSyncSessionToken(const char *value)
const Aws::String & GetIdentityPoolId() const
void SetDatasetName(const char *value)
UpdateRecordsRequest & WithIdentityPoolId(Aws::String &&value)
void SetClientContext(Aws::String &&value)
const Aws::Vector< RecordPatch > & GetRecordPatches() const
UpdateRecordsRequest & WithIdentityPoolId(const char *value)
UpdateRecordsRequest & AddRecordPatches(const RecordPatch &value)
void SetSyncSessionToken(Aws::String &&value)
const Aws::String & GetDatasetName() const
UpdateRecordsRequest & WithIdentityId(const Aws::String &value)
bool DatasetNameHasBeenSet() const
UpdateRecordsRequest & AddRecordPatches(RecordPatch &&value)
bool DeviceIdHasBeenSet() const
void SetDeviceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool IdentityIdHasBeenSet() const
AWS_COGNITOSYNC_API UpdateRecordsRequest()
const Aws::String & GetIdentityId() const
UpdateRecordsRequest & WithIdentityPoolId(const Aws::String &value)
void SetSyncSessionToken(const Aws::String &value)
UpdateRecordsRequest & WithDatasetName(const char *value)
UpdateRecordsRequest & WithClientContext(const Aws::String &value)
void SetIdentityPoolId(const Aws::String &value)
UpdateRecordsRequest & WithRecordPatches(const Aws::Vector< RecordPatch > &value)
UpdateRecordsRequest & WithDeviceId(const Aws::String &value)
void SetSyncSessionToken(const char *value)
UpdateRecordsRequest & WithRecordPatches(Aws::Vector< RecordPatch > &&value)
void SetIdentityId(const Aws::String &value)
void SetRecordPatches(const Aws::Vector< RecordPatch > &value)
UpdateRecordsRequest & WithDeviceId(const char *value)
UpdateRecordsRequest & WithIdentityId(const char *value)
void SetIdentityPoolId(const char *value)
bool IdentityPoolIdHasBeenSet() const
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
bool RecordPatchesHasBeenSet() const
void SetIdentityId(const char *value)
UpdateRecordsRequest & WithClientContext(Aws::String &&value)
void SetDatasetName(const Aws::String &value)
UpdateRecordsRequest & WithDeviceId(Aws::String &&value)
UpdateRecordsRequest & WithSyncSessionToken(Aws::String &&value)
UpdateRecordsRequest & WithSyncSessionToken(const Aws::String &value)
void SetClientContext(const char *value)
UpdateRecordsRequest & WithIdentityId(Aws::String &&value)
UpdateRecordsRequest & WithDatasetName(const Aws::String &value)
const Aws::String & GetSyncSessionToken() const
void SetDatasetName(Aws::String &&value)
const Aws::String & GetClientContext() const
UpdateRecordsRequest & WithClientContext(const char *value)
bool SyncSessionTokenHasBeenSet() const
UpdateRecordsRequest & WithDatasetName(Aws::String &&value)
AWS_COGNITOSYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDeviceId(const char *value)
bool ClientContextHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector