7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
19namespace CloudWatchLogs {
42 template <
typename KeyT = Aws::String>
44 m_keyHasBeenSet =
true;
45 m_key = std::forward<KeyT>(value);
47 template <
typename KeyT = Aws::String>
49 SetKey(std::forward<KeyT>(value));
60 template <
typename ValueT = Aws::String>
62 m_valueHasBeenSet =
true;
63 m_value = std::forward<ValueT>(value);
65 template <
typename ValueT = Aws::String>
67 SetValue(std::forward<ValueT>(value));
80 m_overwriteIfExistsHasBeenSet =
true;
81 m_overwriteIfExists = value;
93 bool m_overwriteIfExists{
false};
94 bool m_keyHasBeenSet =
false;
95 bool m_valueHasBeenSet =
false;
96 bool m_overwriteIfExistsHasBeenSet =
false;
const Aws::String & GetKey() const
AWS_CLOUDWATCHLOGS_API AddKeyEntry()=default
void SetOverwriteIfExists(bool value)
AddKeyEntry & WithKey(KeyT &&value)
AWS_CLOUDWATCHLOGS_API AddKeyEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AddKeyEntry & WithValue(ValueT &&value)
bool KeyHasBeenSet() const
void SetKey(KeyT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetValue() const
bool GetOverwriteIfExists() const
bool OverwriteIfExistsHasBeenSet() const
void SetValue(ValueT &&value)
AWS_CLOUDWATCHLOGS_API AddKeyEntry(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
AddKeyEntry & WithOverwriteIfExists(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue