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/codestar-connections/CodeStarconnections_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 CodeStarconnections
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODESTARCONNECTIONS_API RepositorySyncDefinition();
36 AWS_CODESTARCONNECTIONS_API RepositorySyncDefinition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODESTARCONNECTIONS_API RepositorySyncDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBranch() const{ return m_branch; }
46 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
47 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
48 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
49 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
50 inline RepositorySyncDefinition& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
51 inline RepositorySyncDefinition& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
52 inline RepositorySyncDefinition& WithBranch(const char* value) { SetBranch(value); return *this;}
54
56
61 inline const Aws::String& GetDirectory() const{ return m_directory; }
62 inline bool DirectoryHasBeenSet() const { return m_directoryHasBeenSet; }
63 inline void SetDirectory(const Aws::String& value) { m_directoryHasBeenSet = true; m_directory = value; }
64 inline void SetDirectory(Aws::String&& value) { m_directoryHasBeenSet = true; m_directory = std::move(value); }
65 inline void SetDirectory(const char* value) { m_directoryHasBeenSet = true; m_directory.assign(value); }
66 inline RepositorySyncDefinition& WithDirectory(const Aws::String& value) { SetDirectory(value); return *this;}
67 inline RepositorySyncDefinition& WithDirectory(Aws::String&& value) { SetDirectory(std::move(value)); return *this;}
68 inline RepositorySyncDefinition& WithDirectory(const char* value) { SetDirectory(value); return *this;}
70
72
75 inline const Aws::String& GetParent() const{ return m_parent; }
76 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
77 inline void SetParent(const Aws::String& value) { m_parentHasBeenSet = true; m_parent = value; }
78 inline void SetParent(Aws::String&& value) { m_parentHasBeenSet = true; m_parent = std::move(value); }
79 inline void SetParent(const char* value) { m_parentHasBeenSet = true; m_parent.assign(value); }
80 inline RepositorySyncDefinition& WithParent(const Aws::String& value) { SetParent(value); return *this;}
81 inline RepositorySyncDefinition& WithParent(Aws::String&& value) { SetParent(std::move(value)); return *this;}
82 inline RepositorySyncDefinition& WithParent(const char* value) { SetParent(value); return *this;}
84
86
90 inline const Aws::String& GetTarget() const{ return m_target; }
91 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
92 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
93 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
94 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
95 inline RepositorySyncDefinition& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
96 inline RepositorySyncDefinition& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
97 inline RepositorySyncDefinition& WithTarget(const char* value) { SetTarget(value); return *this;}
99 private:
100
101 Aws::String m_branch;
102 bool m_branchHasBeenSet = false;
103
104 Aws::String m_directory;
105 bool m_directoryHasBeenSet = false;
106
107 Aws::String m_parent;
108 bool m_parentHasBeenSet = false;
109
110 Aws::String m_target;
111 bool m_targetHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace CodeStarconnections
116} // namespace Aws
RepositorySyncDefinition & WithParent(const char *value)
RepositorySyncDefinition & WithTarget(const Aws::String &value)
RepositorySyncDefinition & WithBranch(Aws::String &&value)
RepositorySyncDefinition & WithBranch(const char *value)
RepositorySyncDefinition & WithTarget(Aws::String &&value)
RepositorySyncDefinition & WithParent(Aws::String &&value)
RepositorySyncDefinition & WithDirectory(const char *value)
RepositorySyncDefinition & WithParent(const Aws::String &value)
RepositorySyncDefinition & WithDirectory(const Aws::String &value)
RepositorySyncDefinition & WithTarget(const char *value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
RepositorySyncDefinition & WithBranch(const Aws::String &value)
AWS_CODESTARCONNECTIONS_API RepositorySyncDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_CODESTARCONNECTIONS_API RepositorySyncDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncDefinition & WithDirectory(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue