/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the file operation conflicts in a merge
* operation.See Also:
AWS
* API Reference
The operation (add, modify, or delete) on a file in the source of a merge or * pull request.
*/ inline const ChangeTypeEnum& GetSource() const{ return m_source; } /** *The operation (add, modify, or delete) on a file in the source of a merge or * pull request.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *The operation (add, modify, or delete) on a file in the source of a merge or * pull request.
*/ inline void SetSource(const ChangeTypeEnum& value) { m_sourceHasBeenSet = true; m_source = value; } /** *The operation (add, modify, or delete) on a file in the source of a merge or * pull request.
*/ inline void SetSource(ChangeTypeEnum&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *The operation (add, modify, or delete) on a file in the source of a merge or * pull request.
*/ inline MergeOperations& WithSource(const ChangeTypeEnum& value) { SetSource(value); return *this;} /** *The operation (add, modify, or delete) on a file in the source of a merge or * pull request.
*/ inline MergeOperations& WithSource(ChangeTypeEnum&& value) { SetSource(std::move(value)); return *this;} /** *The operation on a file in the destination of a merge or pull request.
*/ inline const ChangeTypeEnum& GetDestination() const{ return m_destination; } /** *The operation on a file in the destination of a merge or pull request.
*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *The operation on a file in the destination of a merge or pull request.
*/ inline void SetDestination(const ChangeTypeEnum& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *The operation on a file in the destination of a merge or pull request.
*/ inline void SetDestination(ChangeTypeEnum&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *The operation on a file in the destination of a merge or pull request.
*/ inline MergeOperations& WithDestination(const ChangeTypeEnum& value) { SetDestination(value); return *this;} /** *The operation on a file in the destination of a merge or pull request.
*/ inline MergeOperations& WithDestination(ChangeTypeEnum&& value) { SetDestination(std::move(value)); return *this;} private: ChangeTypeEnum m_source; bool m_sourceHasBeenSet = false; ChangeTypeEnum m_destination; bool m_destinationHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws