AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ItemResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/EndpointItemResponse.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/pinpoint/model/EventItemResponse.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Pinpoint
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_PINPOINT_API ItemResponse();
39 AWS_PINPOINT_API ItemResponse(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const EndpointItemResponse& GetEndpointItemResponse() const{ return m_endpointItemResponse; }
49 inline bool EndpointItemResponseHasBeenSet() const { return m_endpointItemResponseHasBeenSet; }
50 inline void SetEndpointItemResponse(const EndpointItemResponse& value) { m_endpointItemResponseHasBeenSet = true; m_endpointItemResponse = value; }
51 inline void SetEndpointItemResponse(EndpointItemResponse&& value) { m_endpointItemResponseHasBeenSet = true; m_endpointItemResponse = std::move(value); }
53 inline ItemResponse& WithEndpointItemResponse(EndpointItemResponse&& value) { SetEndpointItemResponse(std::move(value)); return *this;}
55
57
62 inline const Aws::Map<Aws::String, EventItemResponse>& GetEventsItemResponse() const{ return m_eventsItemResponse; }
63 inline bool EventsItemResponseHasBeenSet() const { return m_eventsItemResponseHasBeenSet; }
64 inline void SetEventsItemResponse(const Aws::Map<Aws::String, EventItemResponse>& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse = value; }
65 inline void SetEventsItemResponse(Aws::Map<Aws::String, EventItemResponse>&& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse = std::move(value); }
68 inline ItemResponse& AddEventsItemResponse(const Aws::String& key, const EventItemResponse& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, value); return *this; }
69 inline ItemResponse& AddEventsItemResponse(Aws::String&& key, const EventItemResponse& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(std::move(key), value); return *this; }
70 inline ItemResponse& AddEventsItemResponse(const Aws::String& key, EventItemResponse&& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, std::move(value)); return *this; }
71 inline ItemResponse& AddEventsItemResponse(Aws::String&& key, EventItemResponse&& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(std::move(key), std::move(value)); return *this; }
72 inline ItemResponse& AddEventsItemResponse(const char* key, EventItemResponse&& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, std::move(value)); return *this; }
73 inline ItemResponse& AddEventsItemResponse(const char* key, const EventItemResponse& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, value); return *this; }
75 private:
76
77 EndpointItemResponse m_endpointItemResponse;
78 bool m_endpointItemResponseHasBeenSet = false;
79
81 bool m_eventsItemResponseHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Pinpoint
86} // namespace Aws
void SetEventsItemResponse(const Aws::Map< Aws::String, EventItemResponse > &value)
ItemResponse & AddEventsItemResponse(const Aws::String &key, const EventItemResponse &value)
void SetEventsItemResponse(Aws::Map< Aws::String, EventItemResponse > &&value)
AWS_PINPOINT_API ItemResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ItemResponse & WithEndpointItemResponse(const EndpointItemResponse &value)
ItemResponse & WithEndpointItemResponse(EndpointItemResponse &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const EndpointItemResponse & GetEndpointItemResponse() const
ItemResponse & WithEventsItemResponse(Aws::Map< Aws::String, EventItemResponse > &&value)
void SetEndpointItemResponse(EndpointItemResponse &&value)
ItemResponse & AddEventsItemResponse(const char *key, EventItemResponse &&value)
ItemResponse & AddEventsItemResponse(Aws::String &&key, EventItemResponse &&value)
AWS_PINPOINT_API ItemResponse(Aws::Utils::Json::JsonView jsonValue)
ItemResponse & AddEventsItemResponse(Aws::String &&key, const EventItemResponse &value)
ItemResponse & AddEventsItemResponse(const Aws::String &key, EventItemResponse &&value)
ItemResponse & AddEventsItemResponse(const char *key, const EventItemResponse &value)
void SetEndpointItemResponse(const EndpointItemResponse &value)
const Aws::Map< Aws::String, EventItemResponse > & GetEventsItemResponse() const
ItemResponse & WithEventsItemResponse(const Aws::Map< Aws::String, EventItemResponse > &value)
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