7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
47 template<
typename StartedT = Aws::Utils::DateTime>
48 void SetStarted(StartedT&& value) { m_startedHasBeenSet =
true; m_started = std::forward<StartedT>(value); }
49 template<
typename StartedT = Aws::Utils::DateTime>
59 template<
typename CompletedT = Aws::Utils::DateTime>
60 void SetCompleted(CompletedT&& value) { m_completedHasBeenSet =
true; m_completed = std::forward<CompletedT>(value); }
61 template<
typename CompletedT = Aws::Utils::DateTime>
71 template<
typename MetricTimestampForRunAndRetriesT = Aws::Utils::DateTime>
72 void SetMetricTimestampForRunAndRetries(MetricTimestampForRunAndRetriesT&& value) { m_metricTimestampForRunAndRetriesHasBeenSet =
true; m_metricTimestampForRunAndRetries = std::forward<MetricTimestampForRunAndRetriesT>(value); }
73 template<
typename MetricTimestampForRunAndRetriesT = Aws::Utils::DateTime>
79 bool m_startedHasBeenSet =
false;
82 bool m_completedHasBeenSet =
false;
85 bool m_metricTimestampForRunAndRetriesHasBeenSet =
false;
void SetMetricTimestampForRunAndRetries(MetricTimestampForRunAndRetriesT &&value)
bool CompletedHasBeenSet() const
AWS_SYNTHETICS_API CanaryRunTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API CanaryRunTimeline(Aws::Utils::Json::JsonView jsonValue)
bool StartedHasBeenSet() const
CanaryRunTimeline & WithCompleted(CompletedT &&value)
void SetStarted(StartedT &&value)
bool MetricTimestampForRunAndRetriesHasBeenSet() const
const Aws::Utils::DateTime & GetCompleted() const
CanaryRunTimeline & WithStarted(StartedT &&value)
const Aws::Utils::DateTime & GetStarted() const
void SetCompleted(CompletedT &&value)
const Aws::Utils::DateTime & GetMetricTimestampForRunAndRetries() const
AWS_SYNTHETICS_API CanaryRunTimeline()=default
CanaryRunTimeline & WithMetricTimestampForRunAndRetries(MetricTimestampForRunAndRetriesT &&value)
Aws::Utils::Json::JsonValue JsonValue