/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a time range.See Also:
AWS
* API Reference
The start time of the time range.
Specify null to leave the * start time open-ended.
*/ inline const Aws::Utils::DateTime& GetStart() const{ return m_start; } /** *The start time of the time range.
Specify null to leave the * start time open-ended.
*/ inline bool StartHasBeenSet() const { return m_startHasBeenSet; } /** *The start time of the time range.
Specify null to leave the * start time open-ended.
*/ inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; } /** *The start time of the time range.
Specify null to leave the * start time open-ended.
*/ inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); } /** *The start time of the time range.
Specify null to leave the * start time open-ended.
*/ inline TimeRange& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;} /** *The start time of the time range.
Specify null to leave the * start time open-ended.
*/ inline TimeRange& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;} /** *The end time of the time range.
Specify null to leave the end * time open-ended.
*/ inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; } /** *The end time of the time range.
Specify null to leave the end * time open-ended.
*/ inline bool EndHasBeenSet() const { return m_endHasBeenSet; } /** *The end time of the time range.
Specify null to leave the end * time open-ended.
*/ inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; } /** *The end time of the time range.
Specify null to leave the end * time open-ended.
*/ inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); } /** *The end time of the time range.
Specify null to leave the end * time open-ended.
*/ inline TimeRange& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;} /** *The end time of the time range.
Specify null to leave the end * time open-ended.
*/ inline TimeRange& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;} private: Aws::Utils::DateTime m_start; bool m_startHasBeenSet = false; Aws::Utils::DateTime m_end; bool m_endHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws