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>
64 template<
typename FromT = Aws::String>
65 void SetFrom(FromT&& value) { m_fromHasBeenSet =
true; m_from = std::forward<FromT>(value); }
66 template<
typename FromT = Aws::String>
76 template<
typename ToT = Aws::String>
77 void SetTo(ToT&& value) { m_toHasBeenSet =
true; m_to = std::forward<ToT>(value); }
78 template<
typename ToT = Aws::String>
84 bool m_sourceHasBeenSet =
false;
87 bool m_fromHasBeenSet =
false;
90 bool m_toHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
SubstituteStringEntry & WithTo(ToT &&value)
const Aws::String & GetTo() const
AWS_CLOUDWATCHLOGS_API SubstituteStringEntry()=default
const Aws::String & GetFrom() const
void SetFrom(FromT &&value)
bool SourceHasBeenSet() const
AWS_CLOUDWATCHLOGS_API SubstituteStringEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FromHasBeenSet() const
SubstituteStringEntry & WithFrom(FromT &&value)
SubstituteStringEntry & WithSource(SourceT &&value)
const Aws::String & GetSource() const
AWS_CLOUDWATCHLOGS_API SubstituteStringEntry(Aws::Utils::Json::JsonView jsonValue)
void SetSource(SourceT &&value)
bool ToHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue