7#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
8#include <aws/iot-data/IoTDataPlaneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/iot-data/model/PayloadFormatIndicator.h>
54 inline void SetTopic(
const char* value) { m_topicHasBeenSet =
true; m_topic.assign(value); }
64 inline int GetQos()
const{
return m_qos; }
66 inline void SetQos(
int value) { m_qosHasBeenSet =
true; m_qos = value; }
80 inline void SetRetain(
bool value) { m_retainHasBeenSet =
true; m_retain = value; }
98 inline void SetUserProperties(
const char* value) { m_userPropertiesHasBeenSet =
true; m_userProperties.assign(value); }
129 inline void SetResponseTopic(
const char* value) { m_responseTopicHasBeenSet =
true; m_responseTopic.assign(value); }
145 inline void SetCorrelationData(
const char* value) { m_correlationDataHasBeenSet =
true; m_correlationData.assign(value); }
162 inline void SetMessageExpiry(
long long value) { m_messageExpiryHasBeenSet =
true; m_messageExpiry = value; }
168 bool m_topicHasBeenSet =
false;
171 bool m_qosHasBeenSet =
false;
174 bool m_retainHasBeenSet =
false;
178 bool m_userPropertiesHasBeenSet =
false;
181 bool m_payloadFormatIndicatorHasBeenSet =
false;
184 bool m_responseTopicHasBeenSet =
false;
187 bool m_correlationDataHasBeenSet =
false;
189 long long m_messageExpiry;
190 bool m_messageExpiryHasBeenSet =
false;
void SetTopic(const char *value)
void SetUserProperties(const Aws::String &value)
bool RetainHasBeenSet() const
long long GetMessageExpiry() const
PublishRequest & WithMessageExpiry(long long value)
PublishRequest & WithRetain(bool value)
void SetCorrelationData(const char *value)
void SetRetain(bool value)
PublishRequest & WithPayloadFormatIndicator(PayloadFormatIndicator &&value)
bool ResponseTopicHasBeenSet() const
const Aws::String & GetTopic() const
void SetUserProperties(const char *value)
PublishRequest & WithPayloadFormatIndicator(const PayloadFormatIndicator &value)
PublishRequest & WithQos(int value)
const Aws::String & GetUserProperties() const
PublishRequest & WithResponseTopic(Aws::String &&value)
void SetCorrelationData(const Aws::String &value)
PublishRequest & WithUserProperties(Aws::String &&value)
bool PayloadFormatIndicatorHasBeenSet() const
AWS_IOTDATAPLANE_API PublishRequest()
bool MessageExpiryHasBeenSet() const
void SetTopic(const Aws::String &value)
PublishRequest & WithResponseTopic(const char *value)
PublishRequest & WithTopic(const Aws::String &value)
AWS_IOTDATAPLANE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetResponseTopic() const
PublishRequest & WithUserProperties(const char *value)
AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool UserPropertiesHasBeenSet() const
void SetResponseTopic(const char *value)
PublishRequest & WithCorrelationData(const char *value)
const PayloadFormatIndicator & GetPayloadFormatIndicator() const
void SetResponseTopic(Aws::String &&value)
bool TopicHasBeenSet() const
void SetPayloadFormatIndicator(const PayloadFormatIndicator &value)
PublishRequest & WithCorrelationData(const Aws::String &value)
PublishRequest & WithTopic(const char *value)
bool QosHasBeenSet() const
PublishRequest & WithUserProperties(const Aws::String &value)
void SetMessageExpiry(long long value)
bool CorrelationDataHasBeenSet() const
void SetPayloadFormatIndicator(PayloadFormatIndicator &&value)
PublishRequest & WithResponseTopic(const Aws::String &value)
const Aws::String & GetCorrelationData() const
PublishRequest & WithTopic(Aws::String &&value)
void SetResponseTopic(const Aws::String &value)
void SetUserProperties(Aws::String &&value)
void SetCorrelationData(Aws::String &&value)
void SetTopic(Aws::String &&value)
PublishRequest & WithCorrelationData(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String