7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CodeConnections {
33 AWS_CODECONNECTIONS_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename BranchT = Aws::String>
43 m_branchHasBeenSet =
true;
44 m_branch = std::forward<BranchT>(value);
46 template <
typename BranchT = Aws::String>
61 template <
typename DirectoryT = Aws::String>
63 m_directoryHasBeenSet =
true;
64 m_directory = std::forward<DirectoryT>(value);
66 template <
typename DirectoryT = Aws::String>
79 template <
typename ParentT = Aws::String>
81 m_parentHasBeenSet =
true;
82 m_parent = std::forward<ParentT>(value);
84 template <
typename ParentT = Aws::String>
98 template <
typename TargetT = Aws::String>
100 m_targetHasBeenSet =
true;
101 m_target = std::forward<TargetT>(value);
103 template <
typename TargetT = Aws::String>
117 bool m_branchHasBeenSet =
false;
118 bool m_directoryHasBeenSet =
false;
119 bool m_parentHasBeenSet =
false;
120 bool m_targetHasBeenSet =
false;
void SetDirectory(DirectoryT &&value)
bool TargetHasBeenSet() const
const Aws::String & GetBranch() const
const Aws::String & GetDirectory() const
RepositorySyncDefinition & WithBranch(BranchT &&value)
void SetTarget(TargetT &&value)
AWS_CODECONNECTIONS_API RepositorySyncDefinition()=default
bool BranchHasBeenSet() const
AWS_CODECONNECTIONS_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
RepositorySyncDefinition & WithTarget(TargetT &&value)
void SetParent(ParentT &&value)
RepositorySyncDefinition & WithParent(ParentT &&value)
void SetBranch(BranchT &&value)
const Aws::String & GetTarget() const
AWS_CODECONNECTIONS_API RepositorySyncDefinition(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
RepositorySyncDefinition & WithDirectory(DirectoryT &&value)
bool DirectoryHasBeenSet() const
const Aws::String & GetParent() const
bool ParentHasBeenSet() const
AWS_CODECONNECTIONS_API RepositorySyncDefinition & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String