AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SymbolicLink.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/FileModeTypeEnum.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeCommit {
21namespace Model {
22
30 public:
31 AWS_CODECOMMIT_API SymbolicLink() = default;
32 AWS_CODECOMMIT_API SymbolicLink(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODECOMMIT_API SymbolicLink& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBlobId() const { return m_blobId; }
41 inline bool BlobIdHasBeenSet() const { return m_blobIdHasBeenSet; }
42 template <typename BlobIdT = Aws::String>
43 void SetBlobId(BlobIdT&& value) {
44 m_blobIdHasBeenSet = true;
45 m_blobId = std::forward<BlobIdT>(value);
46 }
47 template <typename BlobIdT = Aws::String>
48 SymbolicLink& WithBlobId(BlobIdT&& value) {
49 SetBlobId(std::forward<BlobIdT>(value));
50 return *this;
51 }
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) {
62 m_absolutePathHasBeenSet = true;
63 m_absolutePath = std::forward<AbsolutePathT>(value);
64 }
65 template <typename AbsolutePathT = Aws::String>
66 SymbolicLink& WithAbsolutePath(AbsolutePathT&& value) {
67 SetAbsolutePath(std::forward<AbsolutePathT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetRelativePath() const { return m_relativePath; }
78 inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; }
79 template <typename RelativePathT = Aws::String>
80 void SetRelativePath(RelativePathT&& value) {
81 m_relativePathHasBeenSet = true;
82 m_relativePath = std::forward<RelativePathT>(value);
83 }
84 template <typename RelativePathT = Aws::String>
85 SymbolicLink& WithRelativePath(RelativePathT&& value) {
86 SetRelativePath(std::forward<RelativePathT>(value));
87 return *this;
88 }
90
92
96 inline FileModeTypeEnum GetFileMode() const { return m_fileMode; }
97 inline bool FileModeHasBeenSet() const { return m_fileModeHasBeenSet; }
98 inline void SetFileMode(FileModeTypeEnum value) {
99 m_fileModeHasBeenSet = true;
100 m_fileMode = value;
101 }
103 SetFileMode(value);
104 return *this;
105 }
107 private:
108 Aws::String m_blobId;
109
110 Aws::String m_absolutePath;
111
112 Aws::String m_relativePath;
113
115 bool m_blobIdHasBeenSet = false;
116 bool m_absolutePathHasBeenSet = false;
117 bool m_relativePathHasBeenSet = false;
118 bool m_fileModeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace CodeCommit
123} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue