7#include <aws/cognito-sync/CognitoSyncRequest.h>
8#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
9#include <aws/cognito-sync/model/Platform.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace CognitoSync {
43 template <
typename IdentityPoolIdT = Aws::String>
45 m_identityPoolIdHasBeenSet =
true;
46 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
48 template <
typename IdentityPoolIdT = Aws::String>
61 template <
typename IdentityIdT = Aws::String>
63 m_identityIdHasBeenSet =
true;
64 m_identityId = std::forward<IdentityIdT>(value);
66 template <
typename IdentityIdT = Aws::String>
80 m_platformHasBeenSet =
true;
95 template <
typename TokenT = Aws::String>
97 m_tokenHasBeenSet =
true;
98 m_token = std::forward<TokenT>(value);
100 template <
typename TokenT = Aws::String>
102 SetToken(std::forward<TokenT>(value));
114 bool m_identityPoolIdHasBeenSet =
false;
115 bool m_identityIdHasBeenSet =
false;
116 bool m_platformHasBeenSet =
false;
117 bool m_tokenHasBeenSet =
false;
void SetIdentityPoolId(IdentityPoolIdT &&value)
void SetToken(TokenT &&value)
bool TokenHasBeenSet() const
const Aws::String & GetIdentityPoolId() const
bool PlatformHasBeenSet() const
const Aws::String & GetToken() const
AWS_COGNITOSYNC_API RegisterDeviceRequest()=default
RegisterDeviceRequest & WithToken(TokenT &&value)
const Aws::String & GetIdentityId() const
Platform GetPlatform() const
RegisterDeviceRequest & WithIdentityId(IdentityIdT &&value)
void SetIdentityId(IdentityIdT &&value)
void SetPlatform(Platform value)
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
bool IdentityPoolIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
RegisterDeviceRequest & WithPlatform(Platform value)
RegisterDeviceRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
bool IdentityIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String