123 lines
4.8 KiB
C
123 lines
4.8 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/pinpoint/Pinpoint_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/pinpoint/model/EventsBatch.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Pinpoint
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Specifies a batch of events to process.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventsRequest">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_PINPOINT_API EventsRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
EventsRequest();
|
|||
|
|
EventsRequest(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
EventsRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Map<Aws::String, EventsBatch>& GetBatchItem() const{ return m_batchItem; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool BatchItemHasBeenSet() const { return m_batchItemHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBatchItem(const Aws::Map<Aws::String, EventsBatch>& value) { m_batchItemHasBeenSet = true; m_batchItem = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBatchItem(Aws::Map<Aws::String, EventsBatch>&& value) { m_batchItemHasBeenSet = true; m_batchItem = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& WithBatchItem(const Aws::Map<Aws::String, EventsBatch>& value) { SetBatchItem(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& WithBatchItem(Aws::Map<Aws::String, EventsBatch>&& value) { SetBatchItem(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& AddBatchItem(const Aws::String& key, const EventsBatch& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& AddBatchItem(Aws::String&& key, const EventsBatch& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(std::move(key), value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& AddBatchItem(const Aws::String& key, EventsBatch&& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& AddBatchItem(Aws::String&& key, EventsBatch&& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(std::move(key), std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& AddBatchItem(const char* key, EventsBatch&& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The batch of events to process. For each item in a batch, the endpoint ID
|
|||
|
|
* acts as a key that has an EventsBatch object as its value.</p>
|
|||
|
|
*/
|
|||
|
|
inline EventsRequest& AddBatchItem(const char* key, const EventsBatch& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Map<Aws::String, EventsBatch> m_batchItem;
|
|||
|
|
bool m_batchItemHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Pinpoint
|
|||
|
|
} // namespace Aws
|