AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KafkaActionHeader.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_IOT_API KafkaActionHeader() = default;
43
44
46
49 inline const Aws::String& GetKey() const { return m_key; }
50 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
51 template<typename KeyT = Aws::String>
52 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
53 template<typename KeyT = Aws::String>
54 KafkaActionHeader& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
56
58
61 inline const Aws::String& GetValue() const { return m_value; }
62 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
63 template<typename ValueT = Aws::String>
64 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
65 template<typename ValueT = Aws::String>
66 KafkaActionHeader& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
68 private:
69
70 Aws::String m_key;
71 bool m_keyHasBeenSet = false;
72
73 Aws::String m_value;
74 bool m_valueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
AWS_IOT_API KafkaActionHeader()=default
AWS_IOT_API KafkaActionHeader & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKey() const
KafkaActionHeader & WithValue(ValueT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetValue() const
KafkaActionHeader & WithKey(KeyT &&value)
AWS_IOT_API KafkaActionHeader(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue