7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/DeliveryStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
74 inline void SetMessageId(
const char* value) { m_messageIdHasBeenSet =
true; m_messageId.assign(value); }
86 inline void SetStatusCode(
int value) { m_statusCodeHasBeenSet =
true; m_statusCode = value; }
98 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
114 inline void SetUpdatedToken(
const char* value) { m_updatedTokenHasBeenSet =
true; m_updatedToken.assign(value); }
122 bool m_deliveryStatusHasBeenSet =
false;
125 bool m_messageIdHasBeenSet =
false;
128 bool m_statusCodeHasBeenSet =
false;
131 bool m_statusMessageHasBeenSet =
false;
134 bool m_updatedTokenHasBeenSet =
false;
MessageResult & WithMessageId(const char *value)
MessageResult & WithDeliveryStatus(DeliveryStatus &&value)
AWS_PINPOINT_API MessageResult()
MessageResult & WithStatusCode(int value)
MessageResult & WithStatusMessage(Aws::String &&value)
const DeliveryStatus & GetDeliveryStatus() const
const Aws::String & GetMessageId() const
void SetMessageId(const char *value)
void SetStatusCode(int value)
MessageResult & WithUpdatedToken(const char *value)
MessageResult & WithUpdatedToken(const Aws::String &value)
const Aws::String & GetStatusMessage() const
MessageResult & WithDeliveryStatus(const DeliveryStatus &value)
void SetStatusMessage(Aws::String &&value)
MessageResult & WithStatusMessage(const Aws::String &value)
AWS_PINPOINT_API MessageResult & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageIdHasBeenSet() const
MessageResult & WithStatusMessage(const char *value)
const Aws::String & GetUpdatedToken() const
void SetUpdatedToken(const char *value)
void SetStatusMessage(const Aws::String &value)
void SetMessageId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatusMessage(const char *value)
bool DeliveryStatusHasBeenSet() const
AWS_PINPOINT_API MessageResult(Aws::Utils::Json::JsonView jsonValue)
bool StatusMessageHasBeenSet() const
bool StatusCodeHasBeenSet() const
int GetStatusCode() const
void SetMessageId(Aws::String &&value)
void SetUpdatedToken(const Aws::String &value)
bool UpdatedTokenHasBeenSet() const
void SetUpdatedToken(Aws::String &&value)
void SetDeliveryStatus(const DeliveryStatus &value)
void SetDeliveryStatus(DeliveryStatus &&value)
MessageResult & WithMessageId(const Aws::String &value)
MessageResult & WithMessageId(Aws::String &&value)
MessageResult & WithUpdatedToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue