7#include <aws/cognito-sync/CognitoSyncRequest.h>
8#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace CognitoSync {
41 template <
typename IdentityPoolIdT = Aws::String>
43 m_identityPoolIdHasBeenSet =
true;
44 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
46 template <
typename IdentityPoolIdT = Aws::String>
59 template <
typename EventsT = Aws::Map<Aws::String, Aws::String>>
61 m_eventsHasBeenSet =
true;
62 m_events = std::forward<EventsT>(value);
64 template <
typename EventsT = Aws::Map<Aws::String, Aws::String>>
69 template <
typename EventsKeyT = Aws::String,
typename EventsValueT = Aws::String>
71 m_eventsHasBeenSet =
true;
72 m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
80 bool m_identityPoolIdHasBeenSet =
false;
81 bool m_eventsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
SetCognitoEventsRequest & AddEvents(EventsKeyT &&key, EventsValueT &&value)
SetCognitoEventsRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
SetCognitoEventsRequest & WithEvents(EventsT &&value)
void SetEvents(EventsT &&value)
void SetIdentityPoolId(IdentityPoolIdT &&value)
const Aws::String & GetIdentityPoolId() const
AWS_COGNITOSYNC_API SetCognitoEventsRequest()=default
bool IdentityPoolIdHasBeenSet() const
bool EventsHasBeenSet() const
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetEvents() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String