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/DirectMessageConfiguration.h>
11#include <aws/pinpoint/model/EndpointSendConfiguration.h>
12#include <aws/pinpoint/model/TemplateConfiguration.h>
49 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
51 m_contextHasBeenSet =
true;
52 m_context = std::forward<ContextT>(value);
54 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
59 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
61 m_contextHasBeenSet =
true;
62 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
74 template <
typename MessageConfigurationT = DirectMessageConfiguration>
76 m_messageConfigurationHasBeenSet =
true;
77 m_messageConfiguration = std::forward<MessageConfigurationT>(value);
79 template <
typename MessageConfigurationT = DirectMessageConfiguration>
92 template <
typename TemplateConfigurationT = TemplateConfiguration>
94 m_templateConfigurationHasBeenSet =
true;
95 m_templateConfiguration = std::forward<TemplateConfigurationT>(value);
97 template <
typename TemplateConfigurationT = TemplateConfiguration>
111 template <
typename TraceIdT = Aws::String>
113 m_traceIdHasBeenSet =
true;
114 m_traceId = std::forward<TraceIdT>(value);
116 template <
typename TraceIdT = Aws::String>
134 template <
typename UsersT = Aws::Map<Aws::String, Endpo
intSendConfiguration>>
136 m_usersHasBeenSet =
true;
137 m_users = std::forward<UsersT>(value);
139 template <
typename UsersT = Aws::Map<Aws::String, Endpo
intSendConfiguration>>
141 SetUsers(std::forward<UsersT>(value));
144 template <
typename UsersKeyT = Aws::String,
typename UsersValueT = Endpo
intSendConfiguration>
146 m_usersHasBeenSet =
true;
147 m_users.emplace(std::forward<UsersKeyT>(key), std::forward<UsersValueT>(value));
161 bool m_contextHasBeenSet =
false;
162 bool m_messageConfigurationHasBeenSet =
false;
163 bool m_templateConfigurationHasBeenSet =
false;
164 bool m_traceIdHasBeenSet =
false;
165 bool m_usersHasBeenSet =
false;
const TemplateConfiguration & GetTemplateConfiguration() const
SendUsersMessageRequest & WithUsers(UsersT &&value)
AWS_PINPOINT_API SendUsersMessageRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateConfiguration(TemplateConfigurationT &&value)
void SetContext(ContextT &&value)
void SetUsers(UsersT &&value)
bool TemplateConfigurationHasBeenSet() const
const Aws::String & GetTraceId() const
SendUsersMessageRequest & WithMessageConfiguration(MessageConfigurationT &&value)
SendUsersMessageRequest & WithContext(ContextT &&value)
SendUsersMessageRequest & WithTemplateConfiguration(TemplateConfigurationT &&value)
bool ContextHasBeenSet() const
SendUsersMessageRequest & AddContext(ContextKeyT &&key, ContextValueT &&value)
SendUsersMessageRequest & WithTraceId(TraceIdT &&value)
AWS_PINPOINT_API SendUsersMessageRequest(Aws::Utils::Json::JsonView jsonValue)
bool TraceIdHasBeenSet() const
AWS_PINPOINT_API SendUsersMessageRequest()=default
const DirectMessageConfiguration & GetMessageConfiguration() const
bool MessageConfigurationHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, EndpointSendConfiguration > & GetUsers() const
const Aws::Map< Aws::String, Aws::String > & GetContext() const
void SetMessageConfiguration(MessageConfigurationT &&value)
bool UsersHasBeenSet() const
SendUsersMessageRequest & AddUsers(UsersKeyT &&key, UsersValueT &&value)
void SetTraceId(TraceIdT &&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