This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codecommit/include/aws/codecommit/model/SetFileModeEntry.h

124 lines
3.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codecommit/CodeCommit_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codecommit/model/FileModeTypeEnum.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CodeCommit
{
namespace Model
{
/**
* <p>Information about the file mode changes.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SetFileModeEntry">AWS
* API Reference</a></p>
*/
class AWS_CODECOMMIT_API SetFileModeEntry
{
public:
SetFileModeEntry();
SetFileModeEntry(Aws::Utils::Json::JsonView jsonValue);
SetFileModeEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline const Aws::String& GetFilePath() const{ return m_filePath; }
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline SetFileModeEntry& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline SetFileModeEntry& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
/**
* <p>The full path to the file, including the name of the file.</p>
*/
inline SetFileModeEntry& WithFilePath(const char* value) { SetFilePath(value); return *this;}
/**
* <p>The file mode for the file.</p>
*/
inline const FileModeTypeEnum& GetFileMode() const{ return m_fileMode; }
/**
* <p>The file mode for the file.</p>
*/
inline bool FileModeHasBeenSet() const { return m_fileModeHasBeenSet; }
/**
* <p>The file mode for the file.</p>
*/
inline void SetFileMode(const FileModeTypeEnum& value) { m_fileModeHasBeenSet = true; m_fileMode = value; }
/**
* <p>The file mode for the file.</p>
*/
inline void SetFileMode(FileModeTypeEnum&& value) { m_fileModeHasBeenSet = true; m_fileMode = std::move(value); }
/**
* <p>The file mode for the file.</p>
*/
inline SetFileModeEntry& WithFileMode(const FileModeTypeEnum& value) { SetFileMode(value); return *this;}
/**
* <p>The file mode for the file.</p>
*/
inline SetFileModeEntry& WithFileMode(FileModeTypeEnum&& value) { SetFileMode(std::move(value)); return *this;}
private:
Aws::String m_filePath;
bool m_filePathHasBeenSet;
FileModeTypeEnum m_fileMode;
bool m_fileModeHasBeenSet;
};
} // namespace Model
} // namespace CodeCommit
} // namespace Aws