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/AddressConfiguration.h>
11#include <aws/pinpoint/model/DirectMessageConfiguration.h>
12#include <aws/pinpoint/model/EndpointSendConfiguration.h>
13#include <aws/pinpoint/model/TemplateConfiguration.h>
53 template <
typename AddressesT = Aws::Map<Aws::String, AddressConfiguration>>
55 m_addressesHasBeenSet =
true;
56 m_addresses = std::forward<AddressesT>(value);
58 template <
typename AddressesT = Aws::Map<Aws::String, AddressConfiguration>>
63 template <
typename AddressesKeyT = Aws::String,
typename AddressesValueT = AddressConfiguration>
65 m_addressesHasBeenSet =
true;
66 m_addresses.emplace(std::forward<AddressesKeyT>(key), std::forward<AddressesValueT>(value));
79 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
81 m_contextHasBeenSet =
true;
82 m_context = std::forward<ContextT>(value);
84 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
89 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
91 m_contextHasBeenSet =
true;
92 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
109 template <
typename Endpo
intsT = Aws::Map<Aws::String, Endpo
intSendConfiguration>>
111 m_endpointsHasBeenSet =
true;
112 m_endpoints = std::forward<EndpointsT>(value);
114 template <
typename Endpo
intsT = Aws::Map<Aws::String, Endpo
intSendConfiguration>>
119 template <
typename Endpo
intsKeyT = Aws::String,
typename Endpo
intsValueT = Endpo
intSendConfiguration>
121 m_endpointsHasBeenSet =
true;
122 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
134 template <
typename MessageConfigurationT = DirectMessageConfiguration>
136 m_messageConfigurationHasBeenSet =
true;
137 m_messageConfiguration = std::forward<MessageConfigurationT>(value);
139 template <
typename MessageConfigurationT = DirectMessageConfiguration>
152 template <
typename TemplateConfigurationT = TemplateConfiguration>
154 m_templateConfigurationHasBeenSet =
true;
155 m_templateConfiguration = std::forward<TemplateConfigurationT>(value);
157 template <
typename TemplateConfigurationT = TemplateConfiguration>
171 template <
typename TraceIdT = Aws::String>
173 m_traceIdHasBeenSet =
true;
174 m_traceId = std::forward<TraceIdT>(value);
176 template <
typename TraceIdT = Aws::String>
184 bool m_addressesHasBeenSet =
false;
187 bool m_contextHasBeenSet =
false;
190 bool m_endpointsHasBeenSet =
false;
193 bool m_messageConfigurationHasBeenSet =
false;
196 bool m_templateConfigurationHasBeenSet =
false;
199 bool m_traceIdHasBeenSet =
false;
bool ContextHasBeenSet() const
const Aws::Map< Aws::String, EndpointSendConfiguration > & GetEndpoints() const
void SetTraceId(TraceIdT &&value)
void SetContext(ContextT &&value)
AWS_PINPOINT_API MessageRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessageConfiguration(MessageConfigurationT &&value)
bool TraceIdHasBeenSet() const
MessageRequest & WithEndpoints(EndpointsT &&value)
const DirectMessageConfiguration & GetMessageConfiguration() const
MessageRequest & WithTraceId(TraceIdT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API MessageRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, AddressConfiguration > & GetAddresses() const
const Aws::Map< Aws::String, Aws::String > & GetContext() const
void SetAddresses(AddressesT &&value)
MessageRequest & WithContext(ContextT &&value)
bool TemplateConfigurationHasBeenSet() const
const TemplateConfiguration & GetTemplateConfiguration() const
MessageRequest & WithTemplateConfiguration(TemplateConfigurationT &&value)
void SetTemplateConfiguration(TemplateConfigurationT &&value)
bool MessageConfigurationHasBeenSet() const
MessageRequest & AddAddresses(AddressesKeyT &&key, AddressesValueT &&value)
bool EndpointsHasBeenSet() const
AWS_PINPOINT_API MessageRequest()=default
MessageRequest & WithMessageConfiguration(MessageConfigurationT &&value)
bool AddressesHasBeenSet() const
MessageRequest & WithAddresses(AddressesT &&value)
const Aws::String & GetTraceId() const
MessageRequest & AddEndpoints(EndpointsKeyT &&key, EndpointsValueT &&value)
void SetEndpoints(EndpointsT &&value)
MessageRequest & AddContext(ContextKeyT &&key, ContextValueT &&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