AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SetFileModeEntry.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecommit/model/FileModeTypeEnum.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeCommit
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CODECOMMIT_API SetFileModeEntry() = default;
36 AWS_CODECOMMIT_API SetFileModeEntry(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFilePath() const { return m_filePath; }
46 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
47 template<typename FilePathT = Aws::String>
48 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet = true; m_filePath = std::forward<FilePathT>(value); }
49 template<typename FilePathT = Aws::String>
50 SetFileModeEntry& WithFilePath(FilePathT&& value) { SetFilePath(std::forward<FilePathT>(value)); return *this;}
52
54
57 inline FileModeTypeEnum GetFileMode() const { return m_fileMode; }
58 inline bool FileModeHasBeenSet() const { return m_fileModeHasBeenSet; }
59 inline void SetFileMode(FileModeTypeEnum value) { m_fileModeHasBeenSet = true; m_fileMode = value; }
60 inline SetFileModeEntry& WithFileMode(FileModeTypeEnum value) { SetFileMode(value); return *this;}
62 private:
63
64 Aws::String m_filePath;
65 bool m_filePathHasBeenSet = false;
66
68 bool m_fileModeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace CodeCommit
73} // namespace Aws
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECOMMIT_API SetFileModeEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFilePath() const
void SetFileMode(FileModeTypeEnum value)
SetFileModeEntry & WithFilePath(FilePathT &&value)
bool FilePathHasBeenSet() const
FileModeTypeEnum GetFileMode() const
AWS_CODECOMMIT_API SetFileModeEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
SetFileModeEntry & WithFileMode(FileModeTypeEnum value)
AWS_CODECOMMIT_API SetFileModeEntry()=default
void SetFilePath(FilePathT &&value)
bool FileModeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue