/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request could not be processed because of conflict in the current state
* of the resource.See Also:
AWS
* API Reference
The reason for the conflict exception.
*/ inline const ConflictExceptionReason& GetReason() const{ return m_reason; } /** *The reason for the conflict exception.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for the conflict exception.
*/ inline void SetReason(const ConflictExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for the conflict exception.
*/ inline void SetReason(ConflictExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for the conflict exception.
*/ inline ConflictException& WithReason(const ConflictExceptionReason& value) { SetReason(value); return *this;} /** *The reason for the conflict exception.
*/ inline ConflictException& WithReason(ConflictExceptionReason&& value) { SetReason(std::move(value)); return *this;} /** *The zonal shift ID associated with the conflict exception.
*/ inline const Aws::String& GetZonalShiftId() const{ return m_zonalShiftId; } /** *The zonal shift ID associated with the conflict exception.
*/ inline bool ZonalShiftIdHasBeenSet() const { return m_zonalShiftIdHasBeenSet; } /** *The zonal shift ID associated with the conflict exception.
*/ inline void SetZonalShiftId(const Aws::String& value) { m_zonalShiftIdHasBeenSet = true; m_zonalShiftId = value; } /** *The zonal shift ID associated with the conflict exception.
*/ inline void SetZonalShiftId(Aws::String&& value) { m_zonalShiftIdHasBeenSet = true; m_zonalShiftId = std::move(value); } /** *The zonal shift ID associated with the conflict exception.
*/ inline void SetZonalShiftId(const char* value) { m_zonalShiftIdHasBeenSet = true; m_zonalShiftId.assign(value); } /** *The zonal shift ID associated with the conflict exception.
*/ inline ConflictException& WithZonalShiftId(const Aws::String& value) { SetZonalShiftId(value); return *this;} /** *The zonal shift ID associated with the conflict exception.
*/ inline ConflictException& WithZonalShiftId(Aws::String&& value) { SetZonalShiftId(std::move(value)); return *this;} /** *The zonal shift ID associated with the conflict exception.
*/ inline ConflictException& WithZonalShiftId(const char* value) { SetZonalShiftId(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; ConflictExceptionReason m_reason; bool m_reasonHasBeenSet = false; Aws::String m_zonalShiftId; bool m_zonalShiftIdHasBeenSet = false; }; } // namespace Model } // namespace ARCZonalShift } // namespace Aws