AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
48 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
49 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
50 inline SetFileModeEntry& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
51 inline SetFileModeEntry& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
52 inline SetFileModeEntry& WithFilePath(const char* value) { SetFilePath(value); return *this;}
54
56
59 inline const FileModeTypeEnum& GetFileMode() const{ return m_fileMode; }
60 inline bool FileModeHasBeenSet() const { return m_fileModeHasBeenSet; }
61 inline void SetFileMode(const FileModeTypeEnum& value) { m_fileModeHasBeenSet = true; m_fileMode = value; }
62 inline void SetFileMode(FileModeTypeEnum&& value) { m_fileModeHasBeenSet = true; m_fileMode = std::move(value); }
63 inline SetFileModeEntry& WithFileMode(const FileModeTypeEnum& value) { SetFileMode(value); return *this;}
64 inline SetFileModeEntry& WithFileMode(FileModeTypeEnum&& value) { SetFileMode(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_filePath;
69 bool m_filePathHasBeenSet = false;
70
71 FileModeTypeEnum m_fileMode;
72 bool m_fileModeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CodeCommit
77} // namespace Aws
SetFileModeEntry & WithFilePath(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECOMMIT_API SetFileModeEntry()
AWS_CODECOMMIT_API SetFileModeEntry(Aws::Utils::Json::JsonView jsonValue)
void SetFilePath(const Aws::String &value)
void SetFilePath(Aws::String &&value)
const Aws::String & GetFilePath() const
SetFileModeEntry & WithFileMode(const FileModeTypeEnum &value)
SetFileModeEntry & WithFileMode(FileModeTypeEnum &&value)
SetFileModeEntry & WithFilePath(const Aws::String &value)
const FileModeTypeEnum & GetFileMode() const
bool FilePathHasBeenSet() const
AWS_CODECOMMIT_API SetFileModeEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileMode(FileModeTypeEnum &&value)
void SetFileMode(const FileModeTypeEnum &value)
void SetFilePath(const char *value)
bool FileModeHasBeenSet() const
SetFileModeEntry & WithFilePath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue