7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/Range.h>
36 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 template <
typename ExcludedTimeRangesT = Aws::Vector<Range>>
49 m_excludedTimeRangesHasBeenSet =
true;
50 m_excludedTimeRanges = std::forward<ExcludedTimeRangesT>(value);
52 template <
typename ExcludedTimeRangesT = Aws::Vector<Range>>
57 template <
typename ExcludedTimeRangesT = Range>
59 m_excludedTimeRangesHasBeenSet =
true;
60 m_excludedTimeRanges.emplace_back(std::forward<ExcludedTimeRangesT>(value));
75 template <
typename MetricTimezoneT = Aws::String>
77 m_metricTimezoneHasBeenSet =
true;
78 m_metricTimezone = std::forward<MetricTimezoneT>(value);
80 template <
typename MetricTimezoneT = Aws::String>
90 bool m_excludedTimeRangesHasBeenSet =
false;
91 bool m_metricTimezoneHasBeenSet =
false;
void SetMetricTimezone(MetricTimezoneT &&value)
bool MetricTimezoneHasBeenSet() const
AnomalyDetectorConfiguration & WithExcludedTimeRanges(ExcludedTimeRangesT &&value)
AnomalyDetectorConfiguration & AddExcludedTimeRanges(ExcludedTimeRangesT &&value)
const Aws::Vector< Range > & GetExcludedTimeRanges() const
AWS_CLOUDWATCH_API AnomalyDetectorConfiguration()=default
AWS_CLOUDWATCH_API AnomalyDetectorConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ExcludedTimeRangesHasBeenSet() const
const Aws::String & GetMetricTimezone() const
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCH_API AnomalyDetectorConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetExcludedTimeRanges(ExcludedTimeRangesT &&value)
AnomalyDetectorConfiguration & WithMetricTimezone(MetricTimezoneT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector