7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
19namespace CloudWatchLogs {
42 template <
typename SourceT = Aws::String>
44 m_sourceHasBeenSet =
true;
45 m_source = std::forward<SourceT>(value);
47 template <
typename SourceT = Aws::String>
60 template <
typename TargetT = Aws::String>
62 m_targetHasBeenSet =
true;
63 m_target = std::forward<TargetT>(value);
65 template <
typename TargetT = Aws::String>
80 m_overwriteIfExistsHasBeenSet =
true;
81 m_overwriteIfExists = value;
93 bool m_overwriteIfExists{
false};
94 bool m_sourceHasBeenSet =
false;
95 bool m_targetHasBeenSet =
false;
96 bool m_overwriteIfExistsHasBeenSet =
false;
bool OverwriteIfExistsHasBeenSet() const
AWS_CLOUDWATCHLOGS_API MoveKeyEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
MoveKeyEntry & WithTarget(TargetT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSource(SourceT &&value)
bool GetOverwriteIfExists() const
AWS_CLOUDWATCHLOGS_API MoveKeyEntry()=default
void SetTarget(TargetT &&value)
void SetOverwriteIfExists(bool value)
AWS_CLOUDWATCHLOGS_API MoveKeyEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSource() const
bool TargetHasBeenSet() const
MoveKeyEntry & WithOverwriteIfExists(bool value)
MoveKeyEntry & WithSource(SourceT &&value)
bool SourceHasBeenSet() const
const Aws::String & GetTarget() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue