/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about when an on-call shift begins and ends.See
* Also:
AWS
* API Reference
Information about when the on-call rotation shift begins.
*/ inline const HandOffTime& GetStart() const{ return m_start; } /** *Information about when the on-call rotation shift begins.
*/ inline bool StartHasBeenSet() const { return m_startHasBeenSet; } /** *Information about when the on-call rotation shift begins.
*/ inline void SetStart(const HandOffTime& value) { m_startHasBeenSet = true; m_start = value; } /** *Information about when the on-call rotation shift begins.
*/ inline void SetStart(HandOffTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); } /** *Information about when the on-call rotation shift begins.
*/ inline CoverageTime& WithStart(const HandOffTime& value) { SetStart(value); return *this;} /** *Information about when the on-call rotation shift begins.
*/ inline CoverageTime& WithStart(HandOffTime&& value) { SetStart(std::move(value)); return *this;} /** *Information about when the on-call rotation shift ends.
*/ inline const HandOffTime& GetEnd() const{ return m_end; } /** *Information about when the on-call rotation shift ends.
*/ inline bool EndHasBeenSet() const { return m_endHasBeenSet; } /** *Information about when the on-call rotation shift ends.
*/ inline void SetEnd(const HandOffTime& value) { m_endHasBeenSet = true; m_end = value; } /** *Information about when the on-call rotation shift ends.
*/ inline void SetEnd(HandOffTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); } /** *Information about when the on-call rotation shift ends.
*/ inline CoverageTime& WithEnd(const HandOffTime& value) { SetEnd(value); return *this;} /** *Information about when the on-call rotation shift ends.
*/ inline CoverageTime& WithEnd(HandOffTime&& value) { SetEnd(std::move(value)); return *this;} private: HandOffTime m_start; bool m_startHasBeenSet = false; HandOffTime m_end; bool m_endHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws