AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventsRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/EventsBatch.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PINPOINT_API EventsRequest();
37 AWS_PINPOINT_API EventsRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Map<Aws::String, EventsBatch>& GetBatchItem() const{ return m_batchItem; }
48 inline bool BatchItemHasBeenSet() const { return m_batchItemHasBeenSet; }
49 inline void SetBatchItem(const Aws::Map<Aws::String, EventsBatch>& value) { m_batchItemHasBeenSet = true; m_batchItem = value; }
50 inline void SetBatchItem(Aws::Map<Aws::String, EventsBatch>&& value) { m_batchItemHasBeenSet = true; m_batchItem = std::move(value); }
51 inline EventsRequest& WithBatchItem(const Aws::Map<Aws::String, EventsBatch>& value) { SetBatchItem(value); return *this;}
52 inline EventsRequest& WithBatchItem(Aws::Map<Aws::String, EventsBatch>&& value) { SetBatchItem(std::move(value)); return *this;}
53 inline EventsRequest& AddBatchItem(const Aws::String& key, const EventsBatch& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, value); return *this; }
54 inline EventsRequest& AddBatchItem(Aws::String&& key, const EventsBatch& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(std::move(key), value); return *this; }
55 inline EventsRequest& AddBatchItem(const Aws::String& key, EventsBatch&& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, std::move(value)); return *this; }
56 inline EventsRequest& AddBatchItem(Aws::String&& key, EventsBatch&& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(std::move(key), std::move(value)); return *this; }
57 inline EventsRequest& AddBatchItem(const char* key, EventsBatch&& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, std::move(value)); return *this; }
58 inline EventsRequest& AddBatchItem(const char* key, const EventsBatch& value) { m_batchItemHasBeenSet = true; m_batchItem.emplace(key, value); return *this; }
60 private:
61
63 bool m_batchItemHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Pinpoint
68} // namespace Aws
EventsRequest & WithBatchItem(const Aws::Map< Aws::String, EventsBatch > &value)
EventsRequest & AddBatchItem(const Aws::String &key, EventsBatch &&value)
EventsRequest & WithBatchItem(Aws::Map< Aws::String, EventsBatch > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EventsRequest & AddBatchItem(const char *key, const EventsBatch &value)
EventsRequest & AddBatchItem(const Aws::String &key, const EventsBatch &value)
AWS_PINPOINT_API EventsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBatchItem(Aws::Map< Aws::String, EventsBatch > &&value)
EventsRequest & AddBatchItem(Aws::String &&key, EventsBatch &&value)
const Aws::Map< Aws::String, EventsBatch > & GetBatchItem() const
EventsRequest & AddBatchItem(Aws::String &&key, const EventsBatch &value)
EventsRequest & AddBatchItem(const char *key, EventsBatch &&value)
void SetBatchItem(const Aws::Map< Aws::String, EventsBatch > &value)
AWS_PINPOINT_API EventsRequest(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue