AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Folder.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCommit
22{
23namespace Model
24{
25
32 class Folder
33 {
34 public:
35 AWS_CODECOMMIT_API Folder();
36 AWS_CODECOMMIT_API Folder(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODECOMMIT_API Folder& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetTreeId() const{ return m_treeId; }
47 inline bool TreeIdHasBeenSet() const { return m_treeIdHasBeenSet; }
48 inline void SetTreeId(const Aws::String& value) { m_treeIdHasBeenSet = true; m_treeId = value; }
49 inline void SetTreeId(Aws::String&& value) { m_treeIdHasBeenSet = true; m_treeId = std::move(value); }
50 inline void SetTreeId(const char* value) { m_treeIdHasBeenSet = true; m_treeId.assign(value); }
51 inline Folder& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;}
52 inline Folder& WithTreeId(Aws::String&& value) { SetTreeId(std::move(value)); return *this;}
53 inline Folder& WithTreeId(const char* value) { SetTreeId(value); return *this;}
55
57
60 inline const Aws::String& GetAbsolutePath() const{ return m_absolutePath; }
61 inline bool AbsolutePathHasBeenSet() const { return m_absolutePathHasBeenSet; }
62 inline void SetAbsolutePath(const Aws::String& value) { m_absolutePathHasBeenSet = true; m_absolutePath = value; }
63 inline void SetAbsolutePath(Aws::String&& value) { m_absolutePathHasBeenSet = true; m_absolutePath = std::move(value); }
64 inline void SetAbsolutePath(const char* value) { m_absolutePathHasBeenSet = true; m_absolutePath.assign(value); }
65 inline Folder& WithAbsolutePath(const Aws::String& value) { SetAbsolutePath(value); return *this;}
66 inline Folder& WithAbsolutePath(Aws::String&& value) { SetAbsolutePath(std::move(value)); return *this;}
67 inline Folder& WithAbsolutePath(const char* value) { SetAbsolutePath(value); return *this;}
69
71
75 inline const Aws::String& GetRelativePath() const{ return m_relativePath; }
76 inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; }
77 inline void SetRelativePath(const Aws::String& value) { m_relativePathHasBeenSet = true; m_relativePath = value; }
78 inline void SetRelativePath(Aws::String&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::move(value); }
79 inline void SetRelativePath(const char* value) { m_relativePathHasBeenSet = true; m_relativePath.assign(value); }
80 inline Folder& WithRelativePath(const Aws::String& value) { SetRelativePath(value); return *this;}
81 inline Folder& WithRelativePath(Aws::String&& value) { SetRelativePath(std::move(value)); return *this;}
82 inline Folder& WithRelativePath(const char* value) { SetRelativePath(value); return *this;}
84 private:
85
86 Aws::String m_treeId;
87 bool m_treeIdHasBeenSet = false;
88
89 Aws::String m_absolutePath;
90 bool m_absolutePathHasBeenSet = false;
91
92 Aws::String m_relativePath;
93 bool m_relativePathHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeCommit
98} // namespace Aws
void SetTreeId(const Aws::String &value)
Definition Folder.h:48
void SetRelativePath(const Aws::String &value)
Definition Folder.h:77
void SetAbsolutePath(Aws::String &&value)
Definition Folder.h:63
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTreeId() const
Definition Folder.h:46
const Aws::String & GetRelativePath() const
Definition Folder.h:75
AWS_CODECOMMIT_API Folder & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API Folder(Aws::Utils::Json::JsonView jsonValue)
Folder & WithAbsolutePath(const char *value)
Definition Folder.h:67
Folder & WithTreeId(const Aws::String &value)
Definition Folder.h:51
Folder & WithTreeId(const char *value)
Definition Folder.h:53
AWS_CODECOMMIT_API Folder()
const Aws::String & GetAbsolutePath() const
Definition Folder.h:60
bool AbsolutePathHasBeenSet() const
Definition Folder.h:61
Folder & WithAbsolutePath(const Aws::String &value)
Definition Folder.h:65
Folder & WithRelativePath(const char *value)
Definition Folder.h:82
void SetRelativePath(const char *value)
Definition Folder.h:79
void SetRelativePath(Aws::String &&value)
Definition Folder.h:78
void SetAbsolutePath(const Aws::String &value)
Definition Folder.h:62
Folder & WithTreeId(Aws::String &&value)
Definition Folder.h:52
bool RelativePathHasBeenSet() const
Definition Folder.h:76
Folder & WithRelativePath(Aws::String &&value)
Definition Folder.h:81
Folder & WithRelativePath(const Aws::String &value)
Definition Folder.h:80
void SetTreeId(const char *value)
Definition Folder.h:50
void SetTreeId(Aws::String &&value)
Definition Folder.h:49
void SetAbsolutePath(const char *value)
Definition Folder.h:64
Folder & WithAbsolutePath(Aws::String &&value)
Definition Folder.h:66
bool TreeIdHasBeenSet() const
Definition Folder.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue