7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/ProviderType.h>
22namespace CodeStarconnections
36 AWS_CODESTARCONNECTIONS_API
Revision() =
default;
48 template<
typename BranchT = Aws::String>
49 void SetBranch(BranchT&& value) { m_branchHasBeenSet =
true; m_branch = std::forward<BranchT>(value); }
50 template<
typename BranchT = Aws::String>
60 template<
typename DirectoryT = Aws::String>
61 void SetDirectory(DirectoryT&& value) { m_directoryHasBeenSet =
true; m_directory = std::forward<DirectoryT>(value); }
62 template<
typename DirectoryT = Aws::String>
73 template<
typename OwnerIdT = Aws::String>
74 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
75 template<
typename OwnerIdT = Aws::String>
85 template<
typename RepositoryNameT = Aws::String>
86 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
87 template<
typename RepositoryNameT = Aws::String>
107 template<
typename ShaT = Aws::String>
108 void SetSha(ShaT&& value) { m_shaHasBeenSet =
true; m_sha = std::forward<ShaT>(value); }
109 template<
typename ShaT = Aws::String>
115 bool m_branchHasBeenSet =
false;
118 bool m_directoryHasBeenSet =
false;
121 bool m_ownerIdHasBeenSet =
false;
124 bool m_repositoryNameHasBeenSet =
false;
127 bool m_providerTypeHasBeenSet =
false;
130 bool m_shaHasBeenSet =
false;
bool OwnerIdHasBeenSet() const
ProviderType GetProviderType() const
bool BranchHasBeenSet() const
const Aws::String & GetDirectory() const
AWS_CODESTARCONNECTIONS_API Revision(Aws::Utils::Json::JsonView jsonValue)
Revision & WithOwnerId(OwnerIdT &&value)
const Aws::String & GetSha() const
void SetDirectory(DirectoryT &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRepositoryName() const
const Aws::String & GetOwnerId() const
Revision & WithDirectory(DirectoryT &&value)
void SetSha(ShaT &&value)
AWS_CODESTARCONNECTIONS_API Revision()=default
bool ShaHasBeenSet() const
bool ProviderTypeHasBeenSet() const
Revision & WithRepositoryName(RepositoryNameT &&value)
Revision & WithProviderType(ProviderType value)
Revision & WithSha(ShaT &&value)
void SetBranch(BranchT &&value)
void SetOwnerId(OwnerIdT &&value)
bool RepositoryNameHasBeenSet() const
void SetProviderType(ProviderType value)
AWS_CODESTARCONNECTIONS_API Revision & operator=(Aws::Utils::Json::JsonView jsonValue)
Revision & WithBranch(BranchT &&value)
bool DirectoryHasBeenSet() const
const Aws::String & GetBranch() const
void SetRepositoryName(RepositoryNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue