AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SymbolicLink.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
34 {
35 public:
36 AWS_CODECOMMIT_API SymbolicLink() = default;
37 AWS_CODECOMMIT_API SymbolicLink(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODECOMMIT_API SymbolicLink& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBlobId() const { return m_blobId; }
47 inline bool BlobIdHasBeenSet() const { return m_blobIdHasBeenSet; }
48 template<typename BlobIdT = Aws::String>
49 void SetBlobId(BlobIdT&& value) { m_blobIdHasBeenSet = true; m_blobId = std::forward<BlobIdT>(value); }
50 template<typename BlobIdT = Aws::String>
51 SymbolicLink& WithBlobId(BlobIdT&& value) { SetBlobId(std::forward<BlobIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAbsolutePath() const { return m_absolutePath; }
59 inline bool AbsolutePathHasBeenSet() const { return m_absolutePathHasBeenSet; }
60 template<typename AbsolutePathT = Aws::String>
61 void SetAbsolutePath(AbsolutePathT&& value) { m_absolutePathHasBeenSet = true; m_absolutePath = std::forward<AbsolutePathT>(value); }
62 template<typename AbsolutePathT = Aws::String>
63 SymbolicLink& WithAbsolutePath(AbsolutePathT&& value) { SetAbsolutePath(std::forward<AbsolutePathT>(value)); return *this;}
65
67
71 inline const Aws::String& GetRelativePath() const { return m_relativePath; }
72 inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; }
73 template<typename RelativePathT = Aws::String>
74 void SetRelativePath(RelativePathT&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::forward<RelativePathT>(value); }
75 template<typename RelativePathT = Aws::String>
76 SymbolicLink& WithRelativePath(RelativePathT&& value) { SetRelativePath(std::forward<RelativePathT>(value)); return *this;}
78
80
84 inline FileModeTypeEnum GetFileMode() const { return m_fileMode; }
85 inline bool FileModeHasBeenSet() const { return m_fileModeHasBeenSet; }
86 inline void SetFileMode(FileModeTypeEnum value) { m_fileModeHasBeenSet = true; m_fileMode = value; }
87 inline SymbolicLink& WithFileMode(FileModeTypeEnum value) { SetFileMode(value); return *this;}
89 private:
90
91 Aws::String m_blobId;
92 bool m_blobIdHasBeenSet = false;
93
94 Aws::String m_absolutePath;
95 bool m_absolutePathHasBeenSet = false;
96
97 Aws::String m_relativePath;
98 bool m_relativePathHasBeenSet = false;
99
101 bool m_fileModeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CodeCommit
106} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue