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/AWSMap.h>
45 template<
typename IdentityPoolIdT = Aws::String>
46 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet =
true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
47 template<
typename IdentityPoolIdT = Aws::String>
57 template<
typename EventsT = Aws::Map<Aws::String, Aws::String>>
58 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
59 template<
typename EventsT = Aws::Map<Aws::String, Aws::String>>
61 template<
typename EventsKeyT = Aws::String,
typename EventsValueT = Aws::String>
63 m_eventsHasBeenSet =
true; m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
return *
this;
69 bool m_identityPoolIdHasBeenSet =
false;
72 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