7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codebuild/model/WebhookBuildType.h>
12#include <aws/codebuild/model/WebhookFilter.h>
46 template<
typename ProjectNameT = Aws::String>
47 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet =
true; m_projectName = std::forward<ProjectNameT>(value); }
48 template<
typename ProjectNameT = Aws::String>
62 template<
typename BranchFilterT = Aws::String>
63 void SetBranchFilter(BranchFilterT&& value) { m_branchFilterHasBeenSet =
true; m_branchFilter = std::forward<BranchFilterT>(value); }
64 template<
typename BranchFilterT = Aws::String>
76 inline void SetRotateSecret(
bool value) { m_rotateSecretHasBeenSet =
true; m_rotateSecret = value; }
88 template<
typename FilterGroupsT = Aws::Vector<Aws::Vector<WebhookFilter>>>
89 void SetFilterGroups(FilterGroupsT&& value) { m_filterGroupsHasBeenSet =
true; m_filterGroups = std::forward<FilterGroupsT>(value); }
90 template<
typename FilterGroupsT = Aws::Vector<Aws::Vector<WebhookFilter>>>
92 template<
typename FilterGroupsT = Aws::Vector<WebhookFilter>>
114 bool m_projectNameHasBeenSet =
false;
117 bool m_branchFilterHasBeenSet =
false;
119 bool m_rotateSecret{
false};
120 bool m_rotateSecretHasBeenSet =
false;
123 bool m_filterGroupsHasBeenSet =
false;
126 bool m_buildTypeHasBeenSet =
false;
const Aws::String & GetProjectName() const
bool FilterGroupsHasBeenSet() const
AWS_CODEBUILD_API UpdateWebhookRequest()=default
const Aws::String & GetBranchFilter() const
const Aws::Vector< Aws::Vector< WebhookFilter > > & GetFilterGroups() const
void SetFilterGroups(FilterGroupsT &&value)
UpdateWebhookRequest & WithBranchFilter(BranchFilterT &&value)
void SetRotateSecret(bool value)
bool ProjectNameHasBeenSet() const
WebhookBuildType GetBuildType() const
UpdateWebhookRequest & WithRotateSecret(bool value)
UpdateWebhookRequest & WithFilterGroups(FilterGroupsT &&value)
bool BranchFilterHasBeenSet() const
UpdateWebhookRequest & AddFilterGroups(FilterGroupsT &&value)
bool BuildTypeHasBeenSet() const
void SetBuildType(WebhookBuildType value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateWebhookRequest & WithBuildType(WebhookBuildType value)
void SetBranchFilter(BranchFilterT &&value)
UpdateWebhookRequest & WithProjectName(ProjectNameT &&value)
void SetProjectName(ProjectNameT &&value)
bool GetRotateSecret() const
virtual const char * GetServiceRequestName() const override
AWS_CODEBUILD_API Aws::String SerializePayload() const override
bool RotateSecretHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector