AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositorySyncDefinition.h
1
6#pragma once
7#include <aws/proton/Proton_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 Proton
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PROTON_API RepositorySyncDefinition();
37 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetBranch() const{ return m_branch; }
45 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
46 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
47 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
48 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
49 inline RepositorySyncDefinition& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
50 inline RepositorySyncDefinition& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
51 inline RepositorySyncDefinition& WithBranch(const char* value) { SetBranch(value); return *this;}
53
55
58 inline const Aws::String& GetDirectory() const{ return m_directory; }
59 inline bool DirectoryHasBeenSet() const { return m_directoryHasBeenSet; }
60 inline void SetDirectory(const Aws::String& value) { m_directoryHasBeenSet = true; m_directory = value; }
61 inline void SetDirectory(Aws::String&& value) { m_directoryHasBeenSet = true; m_directory = std::move(value); }
62 inline void SetDirectory(const char* value) { m_directoryHasBeenSet = true; m_directory.assign(value); }
63 inline RepositorySyncDefinition& WithDirectory(const Aws::String& value) { SetDirectory(value); return *this;}
64 inline RepositorySyncDefinition& WithDirectory(Aws::String&& value) { SetDirectory(std::move(value)); return *this;}
65 inline RepositorySyncDefinition& WithDirectory(const char* value) { SetDirectory(value); return *this;}
67
69
72 inline const Aws::String& GetParent() const{ return m_parent; }
73 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
74 inline void SetParent(const Aws::String& value) { m_parentHasBeenSet = true; m_parent = value; }
75 inline void SetParent(Aws::String&& value) { m_parentHasBeenSet = true; m_parent = std::move(value); }
76 inline void SetParent(const char* value) { m_parentHasBeenSet = true; m_parent.assign(value); }
77 inline RepositorySyncDefinition& WithParent(const Aws::String& value) { SetParent(value); return *this;}
78 inline RepositorySyncDefinition& WithParent(Aws::String&& value) { SetParent(std::move(value)); return *this;}
79 inline RepositorySyncDefinition& WithParent(const char* value) { SetParent(value); return *this;}
81
83
86 inline const Aws::String& GetTarget() const{ return m_target; }
87 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
88 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
89 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
90 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
91 inline RepositorySyncDefinition& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
92 inline RepositorySyncDefinition& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
93 inline RepositorySyncDefinition& WithTarget(const char* value) { SetTarget(value); return *this;}
95 private:
96
97 Aws::String m_branch;
98 bool m_branchHasBeenSet = false;
99
100 Aws::String m_directory;
101 bool m_directoryHasBeenSet = false;
102
103 Aws::String m_parent;
104 bool m_parentHasBeenSet = false;
105
106 Aws::String m_target;
107 bool m_targetHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Proton
112} // namespace Aws
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
RepositorySyncDefinition & WithParent(const Aws::String &value)
RepositorySyncDefinition & WithTarget(Aws::String &&value)
AWS_PROTON_API RepositorySyncDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncDefinition & WithDirectory(const Aws::String &value)
RepositorySyncDefinition & WithParent(const char *value)
RepositorySyncDefinition & WithTarget(const char *value)
RepositorySyncDefinition & WithTarget(const Aws::String &value)
RepositorySyncDefinition & WithDirectory(Aws::String &&value)
RepositorySyncDefinition & WithBranch(Aws::String &&value)
RepositorySyncDefinition & WithDirectory(const char *value)
AWS_PROTON_API RepositorySyncDefinition(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncDefinition & WithBranch(const Aws::String &value)
RepositorySyncDefinition & WithBranch(const char *value)
RepositorySyncDefinition & WithParent(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue