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/AddressConfiguration.h>
13#include <aws/pinpoint/model/EndpointSendConfiguration.h>
89 inline MessageRequest&
AddContext(
const char* key,
const char* value) { m_contextHasBeenSet =
true; m_context.emplace(key, value);
return *
this; }
150 inline void SetTraceId(
const char* value) { m_traceIdHasBeenSet =
true; m_traceId.assign(value); }
158 bool m_addressesHasBeenSet =
false;
161 bool m_contextHasBeenSet =
false;
164 bool m_endpointsHasBeenSet =
false;
167 bool m_messageConfigurationHasBeenSet =
false;
170 bool m_templateConfigurationHasBeenSet =
false;
173 bool m_traceIdHasBeenSet =
false;
void SetTemplateConfiguration(const TemplateConfiguration &value)
bool ContextHasBeenSet() const
MessageRequest & WithTemplateConfiguration(TemplateConfiguration &&value)
AWS_PINPOINT_API MessageRequest()
const Aws::Map< Aws::String, EndpointSendConfiguration > & GetEndpoints() const
MessageRequest & AddContext(const Aws::String &key, Aws::String &&value)
void SetContext(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API MessageRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TraceIdHasBeenSet() const
void SetMessageConfiguration(const DirectMessageConfiguration &value)
MessageRequest & AddEndpoints(const char *key, const EndpointSendConfiguration &value)
const DirectMessageConfiguration & GetMessageConfiguration() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API MessageRequest(Aws::Utils::Json::JsonView jsonValue)
MessageRequest & AddAddresses(Aws::String &&key, const AddressConfiguration &value)
const Aws::Map< Aws::String, AddressConfiguration > & GetAddresses() const
const Aws::Map< Aws::String, Aws::String > & GetContext() const
void SetEndpoints(const Aws::Map< Aws::String, EndpointSendConfiguration > &value)
MessageRequest & AddContext(Aws::String &&key, Aws::String &&value)
MessageRequest & AddEndpoints(Aws::String &&key, EndpointSendConfiguration &&value)
bool TemplateConfigurationHasBeenSet() const
MessageRequest & WithTraceId(const char *value)
MessageRequest & WithTraceId(const Aws::String &value)
const TemplateConfiguration & GetTemplateConfiguration() const
bool MessageConfigurationHasBeenSet() const
void SetTraceId(const Aws::String &value)
void SetAddresses(const Aws::Map< Aws::String, AddressConfiguration > &value)
MessageRequest & WithAddresses(const Aws::Map< Aws::String, AddressConfiguration > &value)
bool EndpointsHasBeenSet() const
MessageRequest & WithAddresses(Aws::Map< Aws::String, AddressConfiguration > &&value)
MessageRequest & AddEndpoints(Aws::String &&key, const EndpointSendConfiguration &value)
MessageRequest & AddContext(const char *key, Aws::String &&value)
MessageRequest & AddContext(const Aws::String &key, const Aws::String &value)
void SetTemplateConfiguration(TemplateConfiguration &&value)
MessageRequest & WithMessageConfiguration(const DirectMessageConfiguration &value)
bool AddressesHasBeenSet() const
MessageRequest & AddEndpoints(const Aws::String &key, const EndpointSendConfiguration &value)
MessageRequest & AddContext(Aws::String &&key, const Aws::String &value)
MessageRequest & WithContext(const Aws::Map< Aws::String, Aws::String > &value)
MessageRequest & AddEndpoints(const char *key, EndpointSendConfiguration &&value)
void SetMessageConfiguration(DirectMessageConfiguration &&value)
MessageRequest & AddContext(Aws::String &&key, const char *value)
MessageRequest & WithEndpoints(Aws::Map< Aws::String, EndpointSendConfiguration > &&value)
void SetAddresses(Aws::Map< Aws::String, AddressConfiguration > &&value)
MessageRequest & AddContext(const char *key, const char *value)
MessageRequest & WithMessageConfiguration(DirectMessageConfiguration &&value)
const Aws::String & GetTraceId() const
void SetTraceId(Aws::String &&value)
void SetEndpoints(Aws::Map< Aws::String, EndpointSendConfiguration > &&value)
MessageRequest & AddAddresses(const Aws::String &key, const AddressConfiguration &value)
void SetTraceId(const char *value)
MessageRequest & AddAddresses(const Aws::String &key, AddressConfiguration &&value)
MessageRequest & AddAddresses(Aws::String &&key, AddressConfiguration &&value)
void SetContext(const Aws::Map< Aws::String, Aws::String > &value)
MessageRequest & AddAddresses(const char *key, AddressConfiguration &&value)
MessageRequest & AddEndpoints(const Aws::String &key, EndpointSendConfiguration &&value)
MessageRequest & WithContext(Aws::Map< Aws::String, Aws::String > &&value)
MessageRequest & WithEndpoints(const Aws::Map< Aws::String, EndpointSendConfiguration > &value)
MessageRequest & AddAddresses(const char *key, const AddressConfiguration &value)
MessageRequest & WithTemplateConfiguration(const TemplateConfiguration &value)
MessageRequest & WithTraceId(Aws::String &&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