7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/model/FlattenedElement.h>
22namespace CloudWatchLogs
52 template<
typename SourceT = Aws::String>
53 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
54 template<
typename SourceT = Aws::String>
64 template<
typename KeyT = Aws::String>
65 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
66 template<
typename KeyT = Aws::String>
79 template<
typename ValueKeyT = Aws::String>
80 void SetValueKey(ValueKeyT&& value) { m_valueKeyHasBeenSet =
true; m_valueKey = std::forward<ValueKeyT>(value); }
81 template<
typename ValueKeyT = Aws::String>
91 template<
typename TargetT = Aws::String>
92 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
93 template<
typename TargetT = Aws::String>
105 inline void SetFlatten(
bool value) { m_flattenHasBeenSet =
true; m_flatten = value; }
124 bool m_sourceHasBeenSet =
false;
127 bool m_keyHasBeenSet =
false;
130 bool m_valueKeyHasBeenSet =
false;
133 bool m_targetHasBeenSet =
false;
135 bool m_flatten{
false};
136 bool m_flattenHasBeenSet =
false;
139 bool m_flattenedElementHasBeenSet =
false;
bool FlattenedElementHasBeenSet() const
const Aws::String & GetKey() const
void SetSource(SourceT &&value)
ListToMap & WithTarget(TargetT &&value)
ListToMap & WithFlattenedElement(FlattenedElement value)
const Aws::String & GetValueKey() const
void SetValueKey(ValueKeyT &&value)
bool TargetHasBeenSet() const
AWS_CLOUDWATCHLOGS_API ListToMap()=default
bool SourceHasBeenSet() const
const Aws::String & GetTarget() const
const Aws::String & GetSource() const
bool ValueKeyHasBeenSet() const
ListToMap & WithValueKey(ValueKeyT &&value)
ListToMap & WithKey(KeyT &&value)
ListToMap & WithSource(SourceT &&value)
bool FlattenHasBeenSet() const
void SetTarget(TargetT &&value)
ListToMap & WithFlatten(bool value)
void SetKey(KeyT &&value)
void SetFlatten(bool value)
bool KeyHasBeenSet() const
void SetFlattenedElement(FlattenedElement value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
FlattenedElement GetFlattenedElement() const
AWS_CLOUDWATCHLOGS_API ListToMap & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API ListToMap(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue