7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-data/IoTDataPlaneRequest.h>
10#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
11#include <aws/iot-data/model/PayloadFormatIndicator.h>
19namespace IoTDataPlane {
50 template <
typename ClientIdT = Aws::String>
52 m_clientIdHasBeenSet =
true;
53 m_clientId = std::forward<ClientIdT>(value);
55 template <
typename ClientIdT = Aws::String>
71 template <
typename TopicT = Aws::String>
73 m_topicHasBeenSet =
true;
74 m_topic = std::forward<TopicT>(value);
76 template <
typename TopicT = Aws::String>
78 SetTopic(std::forward<TopicT>(value));
94 template <
typename ResponseTopicT = Aws::String>
96 m_responseTopicHasBeenSet =
true;
97 m_responseTopic = std::forward<ResponseTopicT>(value);
99 template <
typename ResponseTopicT = Aws::String>
121 m_confirmationHasBeenSet =
true;
122 m_confirmation = value;
144 m_timeoutHasBeenSet =
true;
166 template <
typename UserPropertiesT = Aws::String>
168 m_userPropertiesHasBeenSet =
true;
169 m_userProperties = std::forward<UserPropertiesT>(value);
171 template <
typename UserPropertiesT = Aws::String>
187 m_payloadFormatIndicatorHasBeenSet =
true;
188 m_payloadFormatIndicator = value;
204 template <
typename CorrelationDataT = Aws::String>
206 m_correlationDataHasBeenSet =
true;
207 m_correlationData = std::forward<CorrelationDataT>(value);
209 template <
typename CorrelationDataT = Aws::String>
222 bool m_confirmation{
false};
231 bool m_clientIdHasBeenSet =
false;
232 bool m_topicHasBeenSet =
false;
233 bool m_responseTopicHasBeenSet =
false;
234 bool m_confirmationHasBeenSet =
false;
235 bool m_timeoutHasBeenSet =
false;
236 bool m_userPropertiesHasBeenSet =
false;
237 bool m_payloadFormatIndicatorHasBeenSet =
false;
238 bool m_correlationDataHasBeenSet =
false;
bool ClientIdHasBeenSet() const
AWS_IOTDATAPLANE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ConfirmationHasBeenSet() const
SendDirectMessageRequest & WithClientId(ClientIdT &&value)
bool PayloadFormatIndicatorHasBeenSet() const
SendDirectMessageRequest & WithTimeout(int value)
const Aws::String & GetUserProperties() const
void SetClientId(ClientIdT &&value)
SendDirectMessageRequest & WithCorrelationData(CorrelationDataT &&value)
AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetCorrelationData(CorrelationDataT &&value)
PayloadFormatIndicator GetPayloadFormatIndicator() const
AWS_IOTDATAPLANE_API SendDirectMessageRequest()=default
const Aws::String & GetTopic() const
void SetResponseTopic(ResponseTopicT &&value)
void SetConfirmation(bool value)
bool TimeoutHasBeenSet() const
bool UserPropertiesHasBeenSet() const
bool ResponseTopicHasBeenSet() const
bool GetConfirmation() const
SendDirectMessageRequest & WithResponseTopic(ResponseTopicT &&value)
bool TopicHasBeenSet() const
SendDirectMessageRequest & WithPayloadFormatIndicator(PayloadFormatIndicator value)
SendDirectMessageRequest & WithTopic(TopicT &&value)
virtual const char * GetServiceRequestName() const override
SendDirectMessageRequest & WithUserProperties(UserPropertiesT &&value)
void SetTopic(TopicT &&value)
void SetUserProperties(UserPropertiesT &&value)
void SetTimeout(int value)
const Aws::String & GetCorrelationData() const
bool CorrelationDataHasBeenSet() const
const Aws::String & GetClientId() const
void SetPayloadFormatIndicator(PayloadFormatIndicator value)
const Aws::String & GetResponseTopic() const
SendDirectMessageRequest & WithConfirmation(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String