7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchLogs
48 template<
typename KeyT = Aws::String>
49 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
50 template<
typename KeyT = Aws::String>
60 template<
typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
62 template<
typename ValueT = Aws::String>
73 inline void SetOverwriteIfExists(
bool value) { m_overwriteIfExistsHasBeenSet =
true; m_overwriteIfExists = value; }
79 bool m_keyHasBeenSet =
false;
82 bool m_valueHasBeenSet =
false;
84 bool m_overwriteIfExists{
false};
85 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