/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an override specified for an on-call
* rotation.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline const Aws::String& GetRotationOverrideId() const{ return m_rotationOverrideId; } /** *The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline bool RotationOverrideIdHasBeenSet() const { return m_rotationOverrideIdHasBeenSet; } /** *The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline void SetRotationOverrideId(const Aws::String& value) { m_rotationOverrideIdHasBeenSet = true; m_rotationOverrideId = value; } /** *The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline void SetRotationOverrideId(Aws::String&& value) { m_rotationOverrideIdHasBeenSet = true; m_rotationOverrideId = std::move(value); } /** *The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline void SetRotationOverrideId(const char* value) { m_rotationOverrideIdHasBeenSet = true; m_rotationOverrideId.assign(value); } /** *The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline RotationOverride& WithRotationOverrideId(const Aws::String& value) { SetRotationOverrideId(value); return *this;} /** *The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline RotationOverride& WithRotationOverrideId(Aws::String&& value) { SetRotationOverrideId(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the override to an on-call rotation.
*/ inline RotationOverride& WithRotationOverrideId(const char* value) { SetRotationOverrideId(value); return *this;} /** *The Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline bool NewContactIdsHasBeenSet() const { return m_newContactIdsHasBeenSet; } /** *The Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline void SetNewContactIds(const Aws::VectorThe Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline void SetNewContactIds(Aws::VectorThe Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline RotationOverride& WithNewContactIds(const Aws::VectorThe Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline RotationOverride& WithNewContactIds(Aws::VectorThe Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline RotationOverride& AddNewContactIds(const Aws::String& value) { m_newContactIdsHasBeenSet = true; m_newContactIds.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline RotationOverride& AddNewContactIds(Aws::String&& value) { m_newContactIdsHasBeenSet = true; m_newContactIds.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the contacts assigned to the override of * the on-call rotation.
*/ inline RotationOverride& AddNewContactIds(const char* value) { m_newContactIdsHasBeenSet = true; m_newContactIds.push_back(value); return *this; } /** *The time a rotation override begins.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time a rotation override begins.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The time a rotation override begins.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The time a rotation override begins.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The time a rotation override begins.
*/ inline RotationOverride& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time a rotation override begins.
*/ inline RotationOverride& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The time a rotation override ends.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time a rotation override ends.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time a rotation override ends.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time a rotation override ends.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time a rotation override ends.
*/ inline RotationOverride& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time a rotation override ends.
*/ inline RotationOverride& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The time a rotation override was created.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time a rotation override was created.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time a rotation override was created.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time a rotation override was created.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time a rotation override was created.
*/ inline RotationOverride& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time a rotation override was created.
*/ inline RotationOverride& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} private: Aws::String m_rotationOverrideId; bool m_rotationOverrideIdHasBeenSet = false; Aws::Vector