AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SendUsersMessageResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/pinpoint/model/EndpointMessageResult.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 SendUsersMessageResponse() = default;
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
49 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
50 template<typename ApplicationIdT = Aws::String>
51 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
52 template<typename ApplicationIdT = Aws::String>
53 SendUsersMessageResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 SendUsersMessageResponse& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67
69
76 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
77 template<typename ResultT = Aws::Map<Aws::String, Aws::Map<Aws::String, EndpointMessageResult>>>
78 void SetResult(ResultT&& value) { m_resultHasBeenSet = true; m_result = std::forward<ResultT>(value); }
79 template<typename ResultT = Aws::Map<Aws::String, Aws::Map<Aws::String, EndpointMessageResult>>>
80 SendUsersMessageResponse& WithResult(ResultT&& value) { SetResult(std::forward<ResultT>(value)); return *this;}
81 template<typename ResultKeyT = Aws::String, typename ResultValueT = Aws::Map<Aws::String, EndpointMessageResult>>
82 SendUsersMessageResponse& AddResult(ResultKeyT&& key, ResultValueT&& value) {
83 m_resultHasBeenSet = true; m_result.emplace(std::forward<ResultKeyT>(key), std::forward<ResultValueT>(value)); return *this;
84 }
86 private:
87
88 Aws::String m_applicationId;
89 bool m_applicationIdHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93
95 bool m_resultHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Pinpoint
100} // 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