AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
51 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
52 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
53 inline SendUsersMessageResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
54 inline SendUsersMessageResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
55 inline SendUsersMessageResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
57
59
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
64 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
67 inline SendUsersMessageResponse& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline SendUsersMessageResponse& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline SendUsersMessageResponse& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71
73
80 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
81 inline void SetResult(const Aws::Map<Aws::String, Aws::Map<Aws::String, EndpointMessageResult>>& value) { m_resultHasBeenSet = true; m_result = value; }
82 inline void SetResult(Aws::Map<Aws::String, Aws::Map<Aws::String, EndpointMessageResult>>&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
85 inline SendUsersMessageResponse& AddResult(const Aws::String& key, const Aws::Map<Aws::String, EndpointMessageResult>& value) { m_resultHasBeenSet = true; m_result.emplace(key, value); return *this; }
86 inline SendUsersMessageResponse& AddResult(Aws::String&& key, const Aws::Map<Aws::String, EndpointMessageResult>& value) { m_resultHasBeenSet = true; m_result.emplace(std::move(key), value); return *this; }
87 inline SendUsersMessageResponse& AddResult(const Aws::String& key, Aws::Map<Aws::String, EndpointMessageResult>&& value) { m_resultHasBeenSet = true; m_result.emplace(key, std::move(value)); return *this; }
88 inline SendUsersMessageResponse& AddResult(Aws::String&& key, Aws::Map<Aws::String, EndpointMessageResult>&& value) { m_resultHasBeenSet = true; m_result.emplace(std::move(key), std::move(value)); return *this; }
89 inline SendUsersMessageResponse& AddResult(const char* key, Aws::Map<Aws::String, EndpointMessageResult>&& value) { m_resultHasBeenSet = true; m_result.emplace(key, std::move(value)); return *this; }
90 inline SendUsersMessageResponse& AddResult(const char* key, const Aws::Map<Aws::String, EndpointMessageResult>& value) { m_resultHasBeenSet = true; m_result.emplace(key, value); return *this; }
92 private:
93
94 Aws::String m_applicationId;
95 bool m_applicationIdHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99
101 bool m_resultHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Pinpoint
106} // namespace Aws
void SetResult(const Aws::Map< Aws::String, Aws::Map< Aws::String, EndpointMessageResult > > &value)
void SetResult(Aws::Map< Aws::String, Aws::Map< Aws::String, EndpointMessageResult > > &&value)
AWS_PINPOINT_API SendUsersMessageResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SendUsersMessageResponse & WithApplicationId(const Aws::String &value)
SendUsersMessageResponse & AddResult(const char *key, const Aws::Map< Aws::String, EndpointMessageResult > &value)
SendUsersMessageResponse & WithApplicationId(const char *value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, EndpointMessageResult > > & GetResult() const
SendUsersMessageResponse & AddResult(Aws::String &&key, const Aws::Map< Aws::String, EndpointMessageResult > &value)
SendUsersMessageResponse & AddResult(const Aws::String &key, Aws::Map< Aws::String, EndpointMessageResult > &&value)
SendUsersMessageResponse & WithRequestId(const Aws::String &value)
SendUsersMessageResponse & WithApplicationId(Aws::String &&value)
SendUsersMessageResponse & WithRequestId(const char *value)
SendUsersMessageResponse & AddResult(const char *key, Aws::Map< Aws::String, EndpointMessageResult > &&value)
SendUsersMessageResponse & WithResult(Aws::Map< Aws::String, Aws::Map< Aws::String, EndpointMessageResult > > &&value)
SendUsersMessageResponse & WithRequestId(Aws::String &&value)
SendUsersMessageResponse & AddResult(Aws::String &&key, Aws::Map< Aws::String, EndpointMessageResult > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
SendUsersMessageResponse & AddResult(const Aws::String &key, const Aws::Map< Aws::String, EndpointMessageResult > &value)
SendUsersMessageResponse & WithResult(const Aws::Map< Aws::String, Aws::Map< Aws::String, EndpointMessageResult > > &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