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