AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
SendUsersMessageResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/EndpointMessageResult.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint {
22namespace Model {
23
31 public:
32 AWS_PINPOINT_API SendUsersMessageResponse() = default;
35 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
43 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
44 template <typename ApplicationIdT = Aws::String>
45 void SetApplicationId(ApplicationIdT&& value) {
46 m_applicationIdHasBeenSet = true;
47 m_applicationId = std::forward<ApplicationIdT>(value);
48 }
49 template <typename ApplicationIdT = Aws::String>
51 SetApplicationId(std::forward<ApplicationIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
62 template <typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) {
64 m_requestIdHasBeenSet = true;
65 m_requestId = std::forward<RequestIdT>(value);
66 }
67 template <typename RequestIdT = Aws::String>
69 SetRequestId(std::forward<RequestIdT>(value));
70 return *this;
71 }
73
75
82 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
83 template <typename ResultT = Aws::Map<Aws::String, Aws::Map<Aws::String, EndpointMessageResult>>>
84 void SetResult(ResultT&& value) {
85 m_resultHasBeenSet = true;
86 m_result = std::forward<ResultT>(value);
87 }
88 template <typename ResultT = Aws::Map<Aws::String, Aws::Map<Aws::String, EndpointMessageResult>>>
90 SetResult(std::forward<ResultT>(value));
91 return *this;
92 }
93 template <typename ResultKeyT = Aws::String, typename ResultValueT = Aws::Map<Aws::String, EndpointMessageResult>>
94 SendUsersMessageResponse& AddResult(ResultKeyT&& key, ResultValueT&& value) {
95 m_resultHasBeenSet = true;
96 m_result.emplace(std::forward<ResultKeyT>(key), std::forward<ResultValueT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_applicationId;
102 bool m_applicationIdHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106
108 bool m_resultHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Pinpoint
113} // namespace Aws
AWS_PINPOINT_API SendUsersMessageResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API SendUsersMessageResponse()=default
const Aws::Map< Aws::String, Aws::Map< Aws::String, EndpointMessageResult > > & GetResult() const
SendUsersMessageResponse & WithResult(ResultT &&value)
SendUsersMessageResponse & WithRequestId(RequestIdT &&value)
SendUsersMessageResponse & AddResult(ResultKeyT &&key, ResultValueT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
SendUsersMessageResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API SendUsersMessageResponse(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