/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to configure Cognito Events"See Also:
AWS
* API Reference
The Cognito Identity Pool to use when configuring Cognito Events
*/ inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; } /** *The Cognito Identity Pool to use when configuring Cognito Events
*/ inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; } /** *The Cognito Identity Pool to use when configuring Cognito Events
*/ inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; } /** *The Cognito Identity Pool to use when configuring Cognito Events
*/ inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); } /** *The Cognito Identity Pool to use when configuring Cognito Events
*/ inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); } /** *The Cognito Identity Pool to use when configuring Cognito Events
*/ inline SetCognitoEventsRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;} /** *The Cognito Identity Pool to use when configuring Cognito Events
*/ inline SetCognitoEventsRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;} /** *The Cognito Identity Pool to use when configuring Cognito Events
*/ inline SetCognitoEventsRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;} /** *The events to configure
*/ inline const Aws::MapThe events to configure
*/ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** *The events to configure
*/ inline void SetEvents(const Aws::MapThe events to configure
*/ inline void SetEvents(Aws::MapThe events to configure
*/ inline SetCognitoEventsRequest& WithEvents(const Aws::MapThe events to configure
*/ inline SetCognitoEventsRequest& WithEvents(Aws::MapThe events to configure
*/ inline SetCognitoEventsRequest& AddEvents(const Aws::String& key, const Aws::String& value) { m_eventsHasBeenSet = true; m_events.emplace(key, value); return *this; } /** *The events to configure
*/ inline SetCognitoEventsRequest& AddEvents(Aws::String&& key, const Aws::String& value) { m_eventsHasBeenSet = true; m_events.emplace(std::move(key), value); return *this; } /** *The events to configure
*/ inline SetCognitoEventsRequest& AddEvents(const Aws::String& key, Aws::String&& value) { m_eventsHasBeenSet = true; m_events.emplace(key, std::move(value)); return *this; } /** *The events to configure
*/ inline SetCognitoEventsRequest& AddEvents(Aws::String&& key, Aws::String&& value) { m_eventsHasBeenSet = true; m_events.emplace(std::move(key), std::move(value)); return *this; } /** *The events to configure
*/ inline SetCognitoEventsRequest& AddEvents(const char* key, Aws::String&& value) { m_eventsHasBeenSet = true; m_events.emplace(key, std::move(value)); return *this; } /** *The events to configure
*/ inline SetCognitoEventsRequest& AddEvents(Aws::String&& key, const char* value) { m_eventsHasBeenSet = true; m_events.emplace(std::move(key), value); return *this; } /** *The events to configure
*/ inline SetCognitoEventsRequest& AddEvents(const char* key, const char* value) { m_eventsHasBeenSet = true; m_events.emplace(key, value); return *this; } private: Aws::String m_identityPoolId; bool m_identityPoolIdHasBeenSet = false; Aws::Map