7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/KafkaActionHeader.h>
52 inline void SetDestinationArn(
const char* value) { m_destinationArnHasBeenSet =
true; m_destinationArn.assign(value); }
66 inline void SetTopic(
const char* value) { m_topicHasBeenSet =
true; m_topic.assign(value); }
79 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
80 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
94 inline void SetPartition(
const char* value) { m_partitionHasBeenSet =
true; m_partition.assign(value); }
116 inline KafkaAction&
AddClientProperties(
const char* key,
const char* value) { m_clientPropertiesHasBeenSet =
true; m_clientProperties.emplace(key, value);
return *
this; }
135 bool m_destinationArnHasBeenSet =
false;
138 bool m_topicHasBeenSet =
false;
141 bool m_keyHasBeenSet =
false;
144 bool m_partitionHasBeenSet =
false;
147 bool m_clientPropertiesHasBeenSet =
false;
150 bool m_headersHasBeenSet =
false;
void SetDestinationArn(const char *value)
KafkaAction & WithDestinationArn(const Aws::String &value)
KafkaAction & WithClientProperties(const Aws::Map< Aws::String, Aws::String > &value)
KafkaAction & AddClientProperties(Aws::String &&key, Aws::String &&value)
KafkaAction & WithPartition(const Aws::String &value)
const Aws::String & GetTopic() const
KafkaAction & WithTopic(const Aws::String &value)
bool DestinationArnHasBeenSet() const
KafkaAction & AddHeaders(const KafkaActionHeader &value)
AWS_IOT_API KafkaAction(Aws::Utils::Json::JsonView jsonValue)
KafkaAction & WithKey(Aws::String &&value)
KafkaAction & WithTopic(Aws::String &&value)
AWS_IOT_API KafkaAction()
KafkaAction & WithPartition(Aws::String &&value)
KafkaAction & WithDestinationArn(Aws::String &&value)
KafkaAction & AddClientProperties(const Aws::String &key, const Aws::String &value)
void SetPartition(const Aws::String &value)
void SetHeaders(const Aws::Vector< KafkaActionHeader > &value)
void SetClientProperties(Aws::Map< Aws::String, Aws::String > &&value)
KafkaAction & AddHeaders(KafkaActionHeader &&value)
KafkaAction & WithKey(const char *value)
bool HeadersHasBeenSet() const
void SetClientProperties(const Aws::Map< Aws::String, Aws::String > &value)
bool ClientPropertiesHasBeenSet() const
void SetTopic(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetClientProperties() const
KafkaAction & WithClientProperties(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetKey() const
void SetTopic(Aws::String &&value)
const Aws::String & GetDestinationArn() const
const Aws::String & GetPartition() const
const Aws::Vector< KafkaActionHeader > & GetHeaders() const
KafkaAction & AddClientProperties(Aws::String &&key, const char *value)
void SetHeaders(Aws::Vector< KafkaActionHeader > &&value)
void SetDestinationArn(Aws::String &&value)
KafkaAction & WithHeaders(Aws::Vector< KafkaActionHeader > &&value)
void SetPartition(Aws::String &&value)
KafkaAction & WithPartition(const char *value)
KafkaAction & AddClientProperties(const char *key, Aws::String &&value)
KafkaAction & WithDestinationArn(const char *value)
void SetTopic(const Aws::String &value)
KafkaAction & WithKey(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PartitionHasBeenSet() const
bool TopicHasBeenSet() const
KafkaAction & WithTopic(const char *value)
AWS_IOT_API KafkaAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKey(const Aws::String &value)
KafkaAction & WithHeaders(const Aws::Vector< KafkaActionHeader > &value)
void SetKey(Aws::String &&value)
void SetPartition(const char *value)
KafkaAction & AddClientProperties(const Aws::String &key, Aws::String &&value)
KafkaAction & AddClientProperties(Aws::String &&key, const Aws::String &value)
bool KeyHasBeenSet() const
void SetKey(const char *value)
KafkaAction & AddClientProperties(const char *key, const char *value)
void SetDestinationArn(const Aws::String &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