AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
RepositorySyncDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/proton/Proton_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Proton {
20namespace Model {
21
28 public:
29 AWS_PROTON_API RepositorySyncDefinition() = default;
32 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetBranch() const { return m_branch; }
39 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
40 template <typename BranchT = Aws::String>
41 void SetBranch(BranchT&& value) {
42 m_branchHasBeenSet = true;
43 m_branch = std::forward<BranchT>(value);
44 }
45 template <typename BranchT = Aws::String>
47 SetBranch(std::forward<BranchT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDirectory() const { return m_directory; }
57 inline bool DirectoryHasBeenSet() const { return m_directoryHasBeenSet; }
58 template <typename DirectoryT = Aws::String>
59 void SetDirectory(DirectoryT&& value) {
60 m_directoryHasBeenSet = true;
61 m_directory = std::forward<DirectoryT>(value);
62 }
63 template <typename DirectoryT = Aws::String>
65 SetDirectory(std::forward<DirectoryT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetParent() const { return m_parent; }
75 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
76 template <typename ParentT = Aws::String>
77 void SetParent(ParentT&& value) {
78 m_parentHasBeenSet = true;
79 m_parent = std::forward<ParentT>(value);
80 }
81 template <typename ParentT = Aws::String>
83 SetParent(std::forward<ParentT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTarget() const { return m_target; }
93 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
94 template <typename TargetT = Aws::String>
95 void SetTarget(TargetT&& value) {
96 m_targetHasBeenSet = true;
97 m_target = std::forward<TargetT>(value);
98 }
99 template <typename TargetT = Aws::String>
101 SetTarget(std::forward<TargetT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_branch;
107
108 Aws::String m_directory;
109
110 Aws::String m_parent;
111
112 Aws::String m_target;
113 bool m_branchHasBeenSet = false;
114 bool m_directoryHasBeenSet = false;
115 bool m_parentHasBeenSet = false;
116 bool m_targetHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Proton
121} // namespace Aws
AWS_PROTON_API RepositorySyncDefinition()=default
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
RepositorySyncDefinition & WithDirectory(DirectoryT &&value)
AWS_PROTON_API RepositorySyncDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncDefinition & WithTarget(TargetT &&value)
AWS_PROTON_API RepositorySyncDefinition(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncDefinition & WithParent(ParentT &&value)
RepositorySyncDefinition & WithBranch(BranchT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue