7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/KafkaActionHeader.h>
44 template <
typename DestinationArnT = Aws::String>
46 m_destinationArnHasBeenSet =
true;
47 m_destinationArn = std::forward<DestinationArnT>(value);
49 template <
typename DestinationArnT = Aws::String>
62 template <
typename TopicT = Aws::String>
64 m_topicHasBeenSet =
true;
65 m_topic = std::forward<TopicT>(value);
67 template <
typename TopicT = Aws::String>
69 SetTopic(std::forward<TopicT>(value));
80 template <
typename KeyT = Aws::String>
82 m_keyHasBeenSet =
true;
83 m_key = std::forward<KeyT>(value);
85 template <
typename KeyT = Aws::String>
87 SetKey(std::forward<KeyT>(value));
98 template <
typename PartitionT = Aws::String>
100 m_partitionHasBeenSet =
true;
101 m_partition = std::forward<PartitionT>(value);
103 template <
typename PartitionT = Aws::String>
116 template <
typename ClientPropertiesT = Aws::Map<Aws::String, Aws::String>>
118 m_clientPropertiesHasBeenSet =
true;
119 m_clientProperties = std::forward<ClientPropertiesT>(value);
121 template <
typename ClientPropertiesT = Aws::Map<Aws::String, Aws::String>>
126 template <
typename ClientPropertiesKeyT = Aws::String,
typename ClientPropertiesValueT = Aws::String>
128 m_clientPropertiesHasBeenSet =
true;
129 m_clientProperties.emplace(std::forward<ClientPropertiesKeyT>(key), std::forward<ClientPropertiesValueT>(value));
140 template <
typename HeadersT = Aws::Vector<KafkaActionHeader>>
142 m_headersHasBeenSet =
true;
143 m_headers = std::forward<HeadersT>(value);
145 template <
typename HeadersT = Aws::Vector<KafkaActionHeader>>
150 template <
typename HeadersT = KafkaActionHeader>
152 m_headersHasBeenSet =
true;
153 m_headers.emplace_back(std::forward<HeadersT>(value));
169 bool m_destinationArnHasBeenSet =
false;
170 bool m_topicHasBeenSet =
false;
171 bool m_keyHasBeenSet =
false;
172 bool m_partitionHasBeenSet =
false;
173 bool m_clientPropertiesHasBeenSet =
false;
174 bool m_headersHasBeenSet =
false;
const Aws::String & GetTopic() const
KafkaAction & WithHeaders(HeadersT &&value)
bool DestinationArnHasBeenSet() const
KafkaAction & WithClientProperties(ClientPropertiesT &&value)
AWS_IOT_API KafkaAction(Aws::Utils::Json::JsonView jsonValue)
void SetKey(KeyT &&value)
KafkaAction & WithDestinationArn(DestinationArnT &&value)
void SetHeaders(HeadersT &&value)
bool HeadersHasBeenSet() const
void SetDestinationArn(DestinationArnT &&value)
bool ClientPropertiesHasBeenSet() const
KafkaAction & WithPartition(PartitionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetClientProperties() const
const Aws::String & GetKey() const
void SetTopic(TopicT &&value)
const Aws::String & GetDestinationArn() const
const Aws::String & GetPartition() const
void SetPartition(PartitionT &&value)
const Aws::Vector< KafkaActionHeader > & GetHeaders() const
void SetClientProperties(ClientPropertiesT &&value)
KafkaAction & AddClientProperties(ClientPropertiesKeyT &&key, ClientPropertiesValueT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PartitionHasBeenSet() const
bool TopicHasBeenSet() const
KafkaAction & WithTopic(TopicT &&value)
AWS_IOT_API KafkaAction & operator=(Aws::Utils::Json::JsonView jsonValue)
KafkaAction & WithKey(KeyT &&value)
bool KeyHasBeenSet() const
AWS_IOT_API KafkaAction()=default
KafkaAction & AddHeaders(HeadersT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue