7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/DeliveryStatus.h>
50 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
88 inline void SetMessageId(
const char* value) { m_messageIdHasBeenSet =
true; m_messageId.assign(value); }
100 inline void SetStatusCode(
int value) { m_statusCodeHasBeenSet =
true; m_statusCode = value; }
112 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
128 inline void SetUpdatedToken(
const char* value) { m_updatedTokenHasBeenSet =
true; m_updatedToken.assign(value); }
136 bool m_addressHasBeenSet =
false;
139 bool m_deliveryStatusHasBeenSet =
false;
142 bool m_messageIdHasBeenSet =
false;
145 bool m_statusCodeHasBeenSet =
false;
148 bool m_statusMessageHasBeenSet =
false;
151 bool m_updatedTokenHasBeenSet =
false;
void SetDeliveryStatus(const DeliveryStatus &value)
int GetStatusCode() const
EndpointMessageResult & WithAddress(const Aws::String &value)
EndpointMessageResult & WithUpdatedToken(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
EndpointMessageResult & WithStatusCode(int value)
const DeliveryStatus & GetDeliveryStatus() const
const Aws::String & GetStatusMessage() const
EndpointMessageResult & WithMessageId(const char *value)
AWS_PINPOINT_API EndpointMessageResult(Aws::Utils::Json::JsonView jsonValue)
EndpointMessageResult & WithUpdatedToken(const char *value)
bool MessageIdHasBeenSet() const
void SetMessageId(const char *value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetMessageId() const
bool StatusCodeHasBeenSet() const
void SetMessageId(Aws::String &&value)
void SetUpdatedToken(const Aws::String &value)
EndpointMessageResult & WithStatusMessage(const char *value)
void SetAddress(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointMessageResult & WithMessageId(Aws::String &&value)
AWS_PINPOINT_API EndpointMessageResult()
bool AddressHasBeenSet() const
bool DeliveryStatusHasBeenSet() const
void SetDeliveryStatus(DeliveryStatus &&value)
void SetAddress(const char *value)
EndpointMessageResult & WithAddress(const char *value)
EndpointMessageResult & WithMessageId(const Aws::String &value)
AWS_PINPOINT_API EndpointMessageResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUpdatedToken() const
void SetUpdatedToken(Aws::String &&value)
EndpointMessageResult & WithStatusMessage(const Aws::String &value)
const Aws::String & GetAddress() const
EndpointMessageResult & WithUpdatedToken(Aws::String &&value)
EndpointMessageResult & WithStatusMessage(Aws::String &&value)
void SetStatusCode(int value)
EndpointMessageResult & WithDeliveryStatus(const DeliveryStatus &value)
EndpointMessageResult & WithAddress(Aws::String &&value)
void SetUpdatedToken(const char *value)
bool UpdatedTokenHasBeenSet() const
void SetAddress(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
void SetMessageId(const Aws::String &value)
EndpointMessageResult & WithDeliveryStatus(DeliveryStatus &&value)
void SetStatusMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue