/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This structure contains the start and end times of a single canary
* run.See Also:
AWS
* API Reference
The start time of the run.
*/ inline const Aws::Utils::DateTime& GetStarted() const{ return m_started; } /** *The start time of the run.
*/ inline bool StartedHasBeenSet() const { return m_startedHasBeenSet; } /** *The start time of the run.
*/ inline void SetStarted(const Aws::Utils::DateTime& value) { m_startedHasBeenSet = true; m_started = value; } /** *The start time of the run.
*/ inline void SetStarted(Aws::Utils::DateTime&& value) { m_startedHasBeenSet = true; m_started = std::move(value); } /** *The start time of the run.
*/ inline CanaryRunTimeline& WithStarted(const Aws::Utils::DateTime& value) { SetStarted(value); return *this;} /** *The start time of the run.
*/ inline CanaryRunTimeline& WithStarted(Aws::Utils::DateTime&& value) { SetStarted(std::move(value)); return *this;} /** *The end time of the run.
*/ inline const Aws::Utils::DateTime& GetCompleted() const{ return m_completed; } /** *The end time of the run.
*/ inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; } /** *The end time of the run.
*/ inline void SetCompleted(const Aws::Utils::DateTime& value) { m_completedHasBeenSet = true; m_completed = value; } /** *The end time of the run.
*/ inline void SetCompleted(Aws::Utils::DateTime&& value) { m_completedHasBeenSet = true; m_completed = std::move(value); } /** *The end time of the run.
*/ inline CanaryRunTimeline& WithCompleted(const Aws::Utils::DateTime& value) { SetCompleted(value); return *this;} /** *The end time of the run.
*/ inline CanaryRunTimeline& WithCompleted(Aws::Utils::DateTime&& value) { SetCompleted(std::move(value)); return *this;} private: Aws::Utils::DateTime m_started; bool m_startedHasBeenSet = false; Aws::Utils::DateTime m_completed; bool m_completedHasBeenSet = false; }; } // namespace Model } // namespace Synthetics } // namespace Aws