AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointBatchRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/model/EndpointBatchItem.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINT_API EndpointBatchRequest();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<EndpointBatchItem>& GetItem() const{ return m_item; }
49 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
50 inline void SetItem(const Aws::Vector<EndpointBatchItem>& value) { m_itemHasBeenSet = true; m_item = value; }
51 inline void SetItem(Aws::Vector<EndpointBatchItem>&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
52 inline EndpointBatchRequest& WithItem(const Aws::Vector<EndpointBatchItem>& value) { SetItem(value); return *this;}
53 inline EndpointBatchRequest& WithItem(Aws::Vector<EndpointBatchItem>&& value) { SetItem(std::move(value)); return *this;}
54 inline EndpointBatchRequest& AddItem(const EndpointBatchItem& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; }
55 inline EndpointBatchRequest& AddItem(EndpointBatchItem&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; }
57 private:
58
60 bool m_itemHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Pinpoint
65} // namespace Aws
AWS_PINPOINT_API EndpointBatchRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetItem(const Aws::Vector< EndpointBatchItem > &value)
const Aws::Vector< EndpointBatchItem > & GetItem() const
EndpointBatchRequest & WithItem(const Aws::Vector< EndpointBatchItem > &value)
EndpointBatchRequest & AddItem(const EndpointBatchItem &value)
EndpointBatchRequest & AddItem(EndpointBatchItem &&value)
AWS_PINPOINT_API EndpointBatchRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetItem(Aws::Vector< EndpointBatchItem > &&value)
EndpointBatchRequest & WithItem(Aws::Vector< EndpointBatchItem > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue