/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include There was a conflict with this action, and it could not be
* completed.See Also:
AWS
* API Reference
The reason for the conflict exception.
*/ inline const Aws::String& 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 Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for the conflict exception.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for the conflict exception.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason for the conflict exception.
*/ inline ConflictException& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason for the conflict exception.
*/ inline ConflictException& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason for the conflict exception.
*/ inline ConflictException& WithReason(const char* value) { SetReason(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws