AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventsResponse.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/ItemResponse.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
35 {
36 public:
37 AWS_PINPOINT_API EventsResponse();
38 AWS_PINPOINT_API EventsResponse(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::Map<Aws::String, ItemResponse>& GetResults() const{ return m_results; }
52 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
53 inline void SetResults(const Aws::Map<Aws::String, ItemResponse>& value) { m_resultsHasBeenSet = true; m_results = value; }
54 inline void SetResults(Aws::Map<Aws::String, ItemResponse>&& value) { m_resultsHasBeenSet = true; m_results = std::move(value); }
55 inline EventsResponse& WithResults(const Aws::Map<Aws::String, ItemResponse>& value) { SetResults(value); return *this;}
56 inline EventsResponse& WithResults(Aws::Map<Aws::String, ItemResponse>&& value) { SetResults(std::move(value)); return *this;}
57 inline EventsResponse& AddResults(const Aws::String& key, const ItemResponse& value) { m_resultsHasBeenSet = true; m_results.emplace(key, value); return *this; }
58 inline EventsResponse& AddResults(Aws::String&& key, const ItemResponse& value) { m_resultsHasBeenSet = true; m_results.emplace(std::move(key), value); return *this; }
59 inline EventsResponse& AddResults(const Aws::String& key, ItemResponse&& value) { m_resultsHasBeenSet = true; m_results.emplace(key, std::move(value)); return *this; }
60 inline EventsResponse& AddResults(Aws::String&& key, ItemResponse&& value) { m_resultsHasBeenSet = true; m_results.emplace(std::move(key), std::move(value)); return *this; }
61 inline EventsResponse& AddResults(const char* key, ItemResponse&& value) { m_resultsHasBeenSet = true; m_results.emplace(key, std::move(value)); return *this; }
62 inline EventsResponse& AddResults(const char* key, const ItemResponse& value) { m_resultsHasBeenSet = true; m_results.emplace(key, value); return *this; }
64 private:
65
67 bool m_resultsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Pinpoint
72} // namespace Aws
AWS_PINPOINT_API EventsResponse(Aws::Utils::Json::JsonView jsonValue)
void SetResults(const Aws::Map< Aws::String, ItemResponse > &value)
EventsResponse & AddResults(Aws::String &&key, ItemResponse &&value)
EventsResponse & AddResults(const Aws::String &key, ItemResponse &&value)
EventsResponse & AddResults(const char *key, ItemResponse &&value)
EventsResponse & AddResults(Aws::String &&key, const ItemResponse &value)
EventsResponse & AddResults(const Aws::String &key, const ItemResponse &value)
const Aws::Map< Aws::String, ItemResponse > & GetResults() const
void SetResults(Aws::Map< Aws::String, ItemResponse > &&value)
EventsResponse & AddResults(const char *key, const ItemResponse &value)
EventsResponse & WithResults(Aws::Map< Aws::String, ItemResponse > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API EventsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
EventsResponse & WithResults(const Aws::Map< Aws::String, ItemResponse > &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