/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a shift that belongs to an on-call rotation.See
* Also:
AWS
* API Reference
The Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline bool ContactIdsHasBeenSet() const { return m_contactIdsHasBeenSet; } /** *The Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline void SetContactIds(const Aws::VectorThe Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline void SetContactIds(Aws::VectorThe Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline RotationShift& WithContactIds(const Aws::VectorThe Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline RotationShift& WithContactIds(Aws::VectorThe Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline RotationShift& AddContactIds(const Aws::String& value) { m_contactIdsHasBeenSet = true; m_contactIds.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline RotationShift& AddContactIds(Aws::String&& value) { m_contactIdsHasBeenSet = true; m_contactIds.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the contacts who are part of the shift * rotation.
*/ inline RotationShift& AddContactIds(const char* value) { m_contactIdsHasBeenSet = true; m_contactIds.push_back(value); return *this; } /** *The time a shift rotation begins.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time a shift rotation begins.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The time a shift rotation begins.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The time a shift rotation begins.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The time a shift rotation begins.
*/ inline RotationShift& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time a shift rotation begins.
*/ inline RotationShift& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The time a shift rotation ends.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time a shift rotation ends.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time a shift rotation ends.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time a shift rotation ends.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time a shift rotation ends.
*/ inline RotationShift& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time a shift rotation ends.
*/ inline RotationShift& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The type of shift rotation.
*/ inline const ShiftType& GetType() const{ return m_type; } /** *The type of shift rotation.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of shift rotation.
*/ inline void SetType(const ShiftType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of shift rotation.
*/ inline void SetType(ShiftType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of shift rotation.
*/ inline RotationShift& WithType(const ShiftType& value) { SetType(value); return *this;} /** *The type of shift rotation.
*/ inline RotationShift& WithType(ShiftType&& value) { SetType(std::move(value)); return *this;} /** *Additional information about an on-call rotation shift.
*/ inline const ShiftDetails& GetShiftDetails() const{ return m_shiftDetails; } /** *Additional information about an on-call rotation shift.
*/ inline bool ShiftDetailsHasBeenSet() const { return m_shiftDetailsHasBeenSet; } /** *Additional information about an on-call rotation shift.
*/ inline void SetShiftDetails(const ShiftDetails& value) { m_shiftDetailsHasBeenSet = true; m_shiftDetails = value; } /** *Additional information about an on-call rotation shift.
*/ inline void SetShiftDetails(ShiftDetails&& value) { m_shiftDetailsHasBeenSet = true; m_shiftDetails = std::move(value); } /** *Additional information about an on-call rotation shift.
*/ inline RotationShift& WithShiftDetails(const ShiftDetails& value) { SetShiftDetails(value); return *this;} /** *Additional information about an on-call rotation shift.
*/ inline RotationShift& WithShiftDetails(ShiftDetails&& value) { SetShiftDetails(std::move(value)); return *this;} private: Aws::Vector