/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudWatchEvidently { namespace Model { /** *

This structure contains information about the start and end times of the * launch.

See Also:

AWS * API Reference

*/ class LaunchExecution { public: AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution(); AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The date and time that the launch ended.

*/ inline const Aws::Utils::DateTime& GetEndedTime() const{ return m_endedTime; } /** *

The date and time that the launch ended.

*/ inline bool EndedTimeHasBeenSet() const { return m_endedTimeHasBeenSet; } /** *

The date and time that the launch ended.

*/ inline void SetEndedTime(const Aws::Utils::DateTime& value) { m_endedTimeHasBeenSet = true; m_endedTime = value; } /** *

The date and time that the launch ended.

*/ inline void SetEndedTime(Aws::Utils::DateTime&& value) { m_endedTimeHasBeenSet = true; m_endedTime = std::move(value); } /** *

The date and time that the launch ended.

*/ inline LaunchExecution& WithEndedTime(const Aws::Utils::DateTime& value) { SetEndedTime(value); return *this;} /** *

The date and time that the launch ended.

*/ inline LaunchExecution& WithEndedTime(Aws::Utils::DateTime&& value) { SetEndedTime(std::move(value)); return *this;} /** *

The date and time that the launch started.

*/ inline const Aws::Utils::DateTime& GetStartedTime() const{ return m_startedTime; } /** *

The date and time that the launch started.

*/ inline bool StartedTimeHasBeenSet() const { return m_startedTimeHasBeenSet; } /** *

The date and time that the launch started.

*/ inline void SetStartedTime(const Aws::Utils::DateTime& value) { m_startedTimeHasBeenSet = true; m_startedTime = value; } /** *

The date and time that the launch started.

*/ inline void SetStartedTime(Aws::Utils::DateTime&& value) { m_startedTimeHasBeenSet = true; m_startedTime = std::move(value); } /** *

The date and time that the launch started.

*/ inline LaunchExecution& WithStartedTime(const Aws::Utils::DateTime& value) { SetStartedTime(value); return *this;} /** *

The date and time that the launch started.

*/ inline LaunchExecution& WithStartedTime(Aws::Utils::DateTime&& value) { SetStartedTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_endedTime; bool m_endedTimeHasBeenSet = false; Aws::Utils::DateTime m_startedTime; bool m_startedTimeHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws