AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointsResponse.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/EndpointResponse.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 EndpointsResponse();
37 AWS_PINPOINT_API EndpointsResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<EndpointResponse>& GetItem() const{ return m_item; }
48 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
49 inline void SetItem(const Aws::Vector<EndpointResponse>& value) { m_itemHasBeenSet = true; m_item = value; }
50 inline void SetItem(Aws::Vector<EndpointResponse>&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
51 inline EndpointsResponse& WithItem(const Aws::Vector<EndpointResponse>& value) { SetItem(value); return *this;}
52 inline EndpointsResponse& WithItem(Aws::Vector<EndpointResponse>&& value) { SetItem(std::move(value)); return *this;}
53 inline EndpointsResponse& AddItem(const EndpointResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; }
54 inline EndpointsResponse& AddItem(EndpointResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_itemHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Pinpoint
64} // namespace Aws
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointsResponse & AddItem(const EndpointResponse &value)
AWS_PINPOINT_API EndpointsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetItem(const Aws::Vector< EndpointResponse > &value)
AWS_PINPOINT_API EndpointsResponse(Aws::Utils::Json::JsonView jsonValue)
EndpointsResponse & WithItem(const Aws::Vector< EndpointResponse > &value)
EndpointsResponse & WithItem(Aws::Vector< EndpointResponse > &&value)
EndpointsResponse & AddItem(EndpointResponse &&value)
const Aws::Vector< EndpointResponse > & GetItem() const
void SetItem(Aws::Vector< EndpointResponse > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue