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

Information about overrides to an on-call rotation shift.

See * Also:

AWS * API Reference

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

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline const Aws::Vector& GetOverriddenContactIds() const{ return m_overriddenContactIds; } /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline bool OverriddenContactIdsHasBeenSet() const { return m_overriddenContactIdsHasBeenSet; } /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline void SetOverriddenContactIds(const Aws::Vector& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds = value; } /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline void SetOverriddenContactIds(Aws::Vector&& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds = std::move(value); } /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline ShiftDetails& WithOverriddenContactIds(const Aws::Vector& value) { SetOverriddenContactIds(value); return *this;} /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline ShiftDetails& WithOverriddenContactIds(Aws::Vector&& value) { SetOverriddenContactIds(std::move(value)); return *this;} /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline ShiftDetails& AddOverriddenContactIds(const Aws::String& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds.push_back(value); return *this; } /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline ShiftDetails& AddOverriddenContactIds(Aws::String&& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds.push_back(std::move(value)); return *this; } /** *

The Amazon Resources Names (ARNs) of the contacts who were replaced in a * shift when an override was created. If the override is deleted, these contacts * are restored to the shift.

*/ inline ShiftDetails& AddOverriddenContactIds(const char* value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds.push_back(value); return *this; } private: Aws::Vector m_overriddenContactIds; bool m_overriddenContactIdsHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws