7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/SourceControlProvider.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/SourceControlAuthStrategy.h>
60 template<
typename RepositoryT = Aws::String>
61 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet =
true; m_repository = std::forward<RepositoryT>(value); }
62 template<
typename RepositoryT = Aws::String>
72 template<
typename OwnerT = Aws::String>
73 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
74 template<
typename OwnerT = Aws::String>
84 template<
typename BranchT = Aws::String>
85 void SetBranch(BranchT&& value) { m_branchHasBeenSet =
true; m_branch = std::forward<BranchT>(value); }
86 template<
typename BranchT = Aws::String>
96 template<
typename FolderT = Aws::String>
97 void SetFolder(FolderT&& value) { m_folderHasBeenSet =
true; m_folder = std::forward<FolderT>(value); }
98 template<
typename FolderT = Aws::String>
108 template<
typename LastCommitIdT = Aws::String>
109 void SetLastCommitId(LastCommitIdT&& value) { m_lastCommitIdHasBeenSet =
true; m_lastCommitId = std::forward<LastCommitIdT>(value); }
110 template<
typename LastCommitIdT = Aws::String>
131 template<
typename AuthTokenT = Aws::String>
132 void SetAuthToken(AuthTokenT&& value) { m_authTokenHasBeenSet =
true; m_authToken = std::forward<AuthTokenT>(value); }
133 template<
typename AuthTokenT = Aws::String>
139 bool m_providerHasBeenSet =
false;
142 bool m_repositoryHasBeenSet =
false;
145 bool m_ownerHasBeenSet =
false;
148 bool m_branchHasBeenSet =
false;
151 bool m_folderHasBeenSet =
false;
154 bool m_lastCommitIdHasBeenSet =
false;
157 bool m_authStrategyHasBeenSet =
false;
160 bool m_authTokenHasBeenSet =
false;
bool LastCommitIdHasBeenSet() const
SourceControlDetails & WithLastCommitId(LastCommitIdT &&value)
void SetProvider(SourceControlProvider value)
void SetFolder(FolderT &&value)
SourceControlDetails & WithAuthToken(AuthTokenT &&value)
bool FolderHasBeenSet() const
SourceControlDetails & WithFolder(FolderT &&value)
AWS_GLUE_API SourceControlDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceControlDetails & WithAuthStrategy(SourceControlAuthStrategy value)
const Aws::String & GetAuthToken() const
void SetAuthToken(AuthTokenT &&value)
SourceControlDetails & WithProvider(SourceControlProvider value)
SourceControlProvider GetProvider() const
SourceControlDetails & WithOwner(OwnerT &&value)
void SetOwner(OwnerT &&value)
void SetRepository(RepositoryT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBranch() const
const Aws::String & GetFolder() const
AWS_GLUE_API SourceControlDetails()=default
SourceControlDetails & WithRepository(RepositoryT &&value)
bool BranchHasBeenSet() const
bool ProviderHasBeenSet() const
void SetLastCommitId(LastCommitIdT &&value)
bool AuthStrategyHasBeenSet() const
const Aws::String & GetLastCommitId() const
const Aws::String & GetRepository() const
bool RepositoryHasBeenSet() const
const Aws::String & GetOwner() const
bool AuthTokenHasBeenSet() const
SourceControlDetails & WithBranch(BranchT &&value)
bool OwnerHasBeenSet() const
void SetBranch(BranchT &&value)
AWS_GLUE_API SourceControlDetails(Aws::Utils::Json::JsonView jsonValue)
SourceControlAuthStrategy GetAuthStrategy() const
void SetAuthStrategy(SourceControlAuthStrategy value)
SourceControlAuthStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue