7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/pinpoint/model/DirectMessageConfiguration.h>
10#include <aws/pinpoint/model/TemplateConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/pinpoint/model/EndpointSendConfiguration.h>
55 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
56 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
57 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
59 template<
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
61 m_contextHasBeenSet =
true; m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
return *
this;
72 template<
typename MessageConfigurationT = DirectMessageConfiguration>
73 void SetMessageConfiguration(MessageConfigurationT&& value) { m_messageConfigurationHasBeenSet =
true; m_messageConfiguration = std::forward<MessageConfigurationT>(value); }
74 template<
typename MessageConfigurationT = DirectMessageConfiguration>
84 template<
typename TemplateConfigurationT = TemplateConfiguration>
85 void SetTemplateConfiguration(TemplateConfigurationT&& value) { m_templateConfigurationHasBeenSet =
true; m_templateConfiguration = std::forward<TemplateConfigurationT>(value); }
86 template<
typename TemplateConfigurationT = TemplateConfiguration>
97 template<
typename TraceIdT = Aws::String>
98 void SetTraceId(TraceIdT&& value) { m_traceIdHasBeenSet =
true; m_traceId = std::forward<TraceIdT>(value); }
99 template<
typename TraceIdT = Aws::String>
114 template<
typename UsersT = Aws::Map<Aws::String, Endpo
intSendConfiguration>>
115 void SetUsers(UsersT&& value) { m_usersHasBeenSet =
true; m_users = std::forward<UsersT>(value); }
116 template<
typename UsersT = Aws::Map<Aws::String, Endpo
intSendConfiguration>>
118 template<
typename UsersKeyT = Aws::String,
typename UsersValueT = Endpo
intSendConfiguration>
120 m_usersHasBeenSet =
true; m_users.emplace(std::forward<UsersKeyT>(key), std::forward<UsersValueT>(value));
return *
this;
126 bool m_contextHasBeenSet =
false;
129 bool m_messageConfigurationHasBeenSet =
false;
132 bool m_templateConfigurationHasBeenSet =
false;
135 bool m_traceIdHasBeenSet =
false;
138 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