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

Returns information about errors in a BatchDescribeMergeConflicts * operation.

See Also:

AWS * API Reference

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

The path to the file.

*/ inline const Aws::String& GetFilePath() const{ return m_filePath; } /** *

The path to the file.

*/ inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; } /** *

The path to the file.

*/ inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; } /** *

The path to the file.

*/ inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); } /** *

The path to the file.

*/ inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); } /** *

The path to the file.

*/ inline BatchDescribeMergeConflictsError& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;} /** *

The path to the file.

*/ inline BatchDescribeMergeConflictsError& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;} /** *

The path to the file.

*/ inline BatchDescribeMergeConflictsError& WithFilePath(const char* value) { SetFilePath(value); return *this;} /** *

The name of the exception.

*/ inline const Aws::String& GetExceptionName() const{ return m_exceptionName; } /** *

The name of the exception.

*/ inline bool ExceptionNameHasBeenSet() const { return m_exceptionNameHasBeenSet; } /** *

The name of the exception.

*/ inline void SetExceptionName(const Aws::String& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = value; } /** *

The name of the exception.

*/ inline void SetExceptionName(Aws::String&& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = std::move(value); } /** *

The name of the exception.

*/ inline void SetExceptionName(const char* value) { m_exceptionNameHasBeenSet = true; m_exceptionName.assign(value); } /** *

The name of the exception.

*/ inline BatchDescribeMergeConflictsError& WithExceptionName(const Aws::String& value) { SetExceptionName(value); return *this;} /** *

The name of the exception.

*/ inline BatchDescribeMergeConflictsError& WithExceptionName(Aws::String&& value) { SetExceptionName(std::move(value)); return *this;} /** *

The name of the exception.

*/ inline BatchDescribeMergeConflictsError& WithExceptionName(const char* value) { SetExceptionName(value); return *this;} /** *

The message provided by the exception.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

The message provided by the exception.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

The message provided by the exception.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

The message provided by the exception.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

The message provided by the exception.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

The message provided by the exception.

*/ inline BatchDescribeMergeConflictsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

The message provided by the exception.

*/ inline BatchDescribeMergeConflictsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

The message provided by the exception.

*/ inline BatchDescribeMergeConflictsError& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_filePath; bool m_filePathHasBeenSet = false; Aws::String m_exceptionName; bool m_exceptionNameHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws