7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchLogs
48 template<
typename SourceT = Aws::String>
49 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
50 template<
typename SourceT = Aws::String>
60 template<
typename TargetT = Aws::String>
61 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
62 template<
typename TargetT = Aws::String>
73 inline void SetOverwriteIfExists(
bool value) { m_overwriteIfExistsHasBeenSet =
true; m_overwriteIfExists = value; }
79 bool m_sourceHasBeenSet =
false;
82 bool m_targetHasBeenSet =
false;
84 bool m_overwriteIfExists{
false};
85 bool m_overwriteIfExistsHasBeenSet =
false;
CopyValueEntry & WithTarget(TargetT &&value)
AWS_CLOUDWATCHLOGS_API CopyValueEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SourceHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
CopyValueEntry & WithOverwriteIfExists(bool value)
bool GetOverwriteIfExists() const
void SetTarget(TargetT &&value)
bool OverwriteIfExistsHasBeenSet() const
const Aws::String & GetTarget() const
AWS_CLOUDWATCHLOGS_API CopyValueEntry()=default
void SetOverwriteIfExists(bool value)
AWS_CLOUDWATCHLOGS_API CopyValueEntry(Aws::Utils::Json::JsonView jsonValue)
void SetSource(SourceT &&value)
const Aws::String & GetSource() const
CopyValueEntry & WithSource(SourceT &&value)
bool TargetHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue