7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/MqttHeaders.h>
42 template <
typename RoleArnT = Aws::String>
44 m_roleArnHasBeenSet =
true;
45 m_roleArn = std::forward<RoleArnT>(value);
47 template <
typename RoleArnT = Aws::String>
60 template <
typename TopicT = Aws::String>
62 m_topicHasBeenSet =
true;
63 m_topic = std::forward<TopicT>(value);
65 template <
typename TopicT = Aws::String>
67 SetTopic(std::forward<TopicT>(value));
77 inline int GetQos()
const {
return m_qos; }
80 m_qosHasBeenSet =
true;
97 template <
typename HeadersT = MqttHeaders>
99 m_headersHasBeenSet =
true;
100 m_headers = std::forward<HeadersT>(value);
102 template <
typename HeadersT = MqttHeaders>
115 MqttHeaders m_headers;
116 bool m_roleArnHasBeenSet =
false;
117 bool m_topicHasBeenSet =
false;
118 bool m_qosHasBeenSet =
false;
119 bool m_headersHasBeenSet =
false;
bool RoleArnHasBeenSet() const
const Aws::String & GetRoleArn() const
void SetHeaders(HeadersT &&value)
RepublishAction & WithQos(int value)
const MqttHeaders & GetHeaders() const
AWS_IOT_API RepublishAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
bool QosHasBeenSet() const
RepublishAction & WithTopic(TopicT &&value)
AWS_IOT_API RepublishAction()=default
void SetTopic(TopicT &&value)
bool TopicHasBeenSet() const
bool HeadersHasBeenSet() const
RepublishAction & WithHeaders(HeadersT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTopic() const
RepublishAction & WithRoleArn(RoleArnT &&value)
AWS_IOT_API RepublishAction(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue