7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
20namespace CloudWatchLogs {
45 template <
typename SourceT = Aws::String>
47 m_sourceHasBeenSet =
true;
48 m_source = std::forward<SourceT>(value);
50 template <
typename SourceT = Aws::String>
63 template <
typename TargetT = Aws::String>
65 m_targetHasBeenSet =
true;
66 m_target = std::forward<TargetT>(value);
68 template <
typename TargetT = Aws::String>
83 template <
typename TargetFormatT = Aws::String>
85 m_targetFormatHasBeenSet =
true;
86 m_targetFormat = std::forward<TargetFormatT>(value);
88 template <
typename TargetFormatT = Aws::String>
101 template <
typename MatchPatternsT = Aws::Vector<Aws::String>>
103 m_matchPatternsHasBeenSet =
true;
104 m_matchPatterns = std::forward<MatchPatternsT>(value);
106 template <
typename MatchPatternsT = Aws::Vector<Aws::String>>
111 template <
typename MatchPatternsT = Aws::String>
113 m_matchPatternsHasBeenSet =
true;
114 m_matchPatterns.emplace_back(std::forward<MatchPatternsT>(value));
126 template <
typename SourceTimezoneT = Aws::String>
128 m_sourceTimezoneHasBeenSet =
true;
129 m_sourceTimezone = std::forward<SourceTimezoneT>(value);
131 template <
typename SourceTimezoneT = Aws::String>
145 template <
typename TargetTimezoneT = Aws::String>
147 m_targetTimezoneHasBeenSet =
true;
148 m_targetTimezone = std::forward<TargetTimezoneT>(value);
150 template <
typename TargetTimezoneT = Aws::String>
164 template <
typename LocaleT = Aws::String>
166 m_localeHasBeenSet =
true;
167 m_locale = std::forward<LocaleT>(value);
169 template <
typename LocaleT = Aws::String>
189 bool m_sourceHasBeenSet =
false;
190 bool m_targetHasBeenSet =
false;
191 bool m_targetFormatHasBeenSet =
false;
192 bool m_matchPatternsHasBeenSet =
false;
193 bool m_sourceTimezoneHasBeenSet =
false;
194 bool m_targetTimezoneHasBeenSet =
false;
195 bool m_localeHasBeenSet =
false;
void SetSource(SourceT &&value)
const Aws::String & GetLocale() const
void SetTargetTimezone(TargetTimezoneT &&value)
DateTimeConverter & WithMatchPatterns(MatchPatternsT &&value)
DateTimeConverter & WithTargetFormat(TargetFormatT &&value)
void SetTarget(TargetT &&value)
void SetLocale(LocaleT &&value)
const Aws::String & GetTarget() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
DateTimeConverter & WithTargetTimezone(TargetTimezoneT &&value)
DateTimeConverter & WithTarget(TargetT &&value)
bool MatchPatternsHasBeenSet() const
bool TargetTimezoneHasBeenSet() const
bool LocaleHasBeenSet() const
DateTimeConverter & WithLocale(LocaleT &&value)
AWS_CLOUDWATCHLOGS_API DateTimeConverter(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceTimezone() const
AWS_CLOUDWATCHLOGS_API DateTimeConverter()=default
AWS_CLOUDWATCHLOGS_API DateTimeConverter & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetTimezone() const
DateTimeConverter & WithSourceTimezone(SourceTimezoneT &&value)
const Aws::String & GetTargetFormat() const
const Aws::Vector< Aws::String > & GetMatchPatterns() const
void SetTargetFormat(TargetFormatT &&value)
DateTimeConverter & AddMatchPatterns(MatchPatternsT &&value)
bool SourceTimezoneHasBeenSet() const
bool TargetHasBeenSet() const
bool SourceHasBeenSet() const
void SetSourceTimezone(SourceTimezoneT &&value)
const Aws::String & GetSource() const
DateTimeConverter & WithSource(SourceT &&value)
bool TargetFormatHasBeenSet() const
void SetMatchPatterns(MatchPatternsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue