7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/SourceControlProvider.h>
11#include <aws/glue/model/SourceControlAuthStrategy.h>
46 template<
typename JobNameT = Aws::String>
47 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
48 template<
typename JobNameT = Aws::String>
72 template<
typename RepositoryNameT = Aws::String>
73 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
74 template<
typename RepositoryNameT = Aws::String>
84 template<
typename RepositoryOwnerT = Aws::String>
85 void SetRepositoryOwner(RepositoryOwnerT&& value) { m_repositoryOwnerHasBeenSet =
true; m_repositoryOwner = std::forward<RepositoryOwnerT>(value); }
86 template<
typename RepositoryOwnerT = Aws::String>
96 template<
typename BranchNameT = Aws::String>
97 void SetBranchName(BranchNameT&& value) { m_branchNameHasBeenSet =
true; m_branchName = std::forward<BranchNameT>(value); }
98 template<
typename BranchNameT = Aws::String>
108 template<
typename FolderT = Aws::String>
109 void SetFolder(FolderT&& value) { m_folderHasBeenSet =
true; m_folder = std::forward<FolderT>(value); }
110 template<
typename FolderT = Aws::String>
120 template<
typename CommitIdT = Aws::String>
121 void SetCommitId(CommitIdT&& value) { m_commitIdHasBeenSet =
true; m_commitId = std::forward<CommitIdT>(value); }
122 template<
typename CommitIdT = Aws::String>
143 template<
typename AuthTokenT = Aws::String>
144 void SetAuthToken(AuthTokenT&& value) { m_authTokenHasBeenSet =
true; m_authToken = std::forward<AuthTokenT>(value); }
145 template<
typename AuthTokenT = Aws::String>
151 bool m_jobNameHasBeenSet =
false;
154 bool m_providerHasBeenSet =
false;
157 bool m_repositoryNameHasBeenSet =
false;
160 bool m_repositoryOwnerHasBeenSet =
false;
163 bool m_branchNameHasBeenSet =
false;
166 bool m_folderHasBeenSet =
false;
169 bool m_commitIdHasBeenSet =
false;
172 bool m_authStrategyHasBeenSet =
false;
175 bool m_authTokenHasBeenSet =
false;
void SetFolder(FolderT &&value)
UpdateJobFromSourceControlRequest & WithFolder(FolderT &&value)
bool RepositoryNameHasBeenSet() const
bool RepositoryOwnerHasBeenSet() const
UpdateJobFromSourceControlRequest & WithBranchName(BranchNameT &&value)
UpdateJobFromSourceControlRequest & WithAuthStrategy(SourceControlAuthStrategy value)
UpdateJobFromSourceControlRequest & WithRepositoryOwner(RepositoryOwnerT &&value)
void SetRepositoryName(RepositoryNameT &&value)
void SetProvider(SourceControlProvider value)
const Aws::String & GetRepositoryName() const
const Aws::String & GetCommitId() const
bool JobNameHasBeenSet() const
void SetAuthToken(AuthTokenT &&value)
SourceControlProvider GetProvider() const
const Aws::String & GetAuthToken() const
AWS_GLUE_API UpdateJobFromSourceControlRequest()=default
bool ProviderHasBeenSet() const
bool CommitIdHasBeenSet() const
UpdateJobFromSourceControlRequest & WithRepositoryName(RepositoryNameT &&value)
UpdateJobFromSourceControlRequest & WithCommitId(CommitIdT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateJobFromSourceControlRequest & WithProvider(SourceControlProvider value)
void SetRepositoryOwner(RepositoryOwnerT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool BranchNameHasBeenSet() const
bool AuthTokenHasBeenSet() const
const Aws::String & GetFolder() const
UpdateJobFromSourceControlRequest & WithAuthToken(AuthTokenT &&value)
const Aws::String & GetJobName() const
void SetBranchName(BranchNameT &&value)
bool FolderHasBeenSet() const
const Aws::String & GetRepositoryOwner() const
bool AuthStrategyHasBeenSet() const
void SetJobName(JobNameT &&value)
void SetAuthStrategy(SourceControlAuthStrategy value)
const Aws::String & GetBranchName() const
UpdateJobFromSourceControlRequest & WithJobName(JobNameT &&value)
SourceControlAuthStrategy GetAuthStrategy() const
virtual const char * GetServiceRequestName() const override
void SetCommitId(CommitIdT &&value)
SourceControlAuthStrategy
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String