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>
48 inline void SetProjectName(
const char* value) { m_projectNameHasBeenSet =
true; m_projectName.assign(value); }
66 inline void SetBranchFilter(
const char* value) { m_branchFilterHasBeenSet =
true; m_branchFilter.assign(value); }
80 inline void SetRotateSecret(
bool value) { m_rotateSecretHasBeenSet =
true; m_rotateSecret = value; }
114 bool m_projectNameHasBeenSet =
false;
117 bool m_branchFilterHasBeenSet =
false;
120 bool m_rotateSecretHasBeenSet =
false;
123 bool m_filterGroupsHasBeenSet =
false;
126 bool m_buildTypeHasBeenSet =
false;
const Aws::String & GetProjectName() const
void SetBranchFilter(const Aws::String &value)
bool FilterGroupsHasBeenSet() const
AWS_CODEBUILD_API UpdateWebhookRequest()
UpdateWebhookRequest & WithBranchFilter(const Aws::String &value)
void SetProjectName(const char *value)
const Aws::String & GetBranchFilter() const
const Aws::Vector< Aws::Vector< WebhookFilter > > & GetFilterGroups() const
UpdateWebhookRequest & WithBuildType(WebhookBuildType &&value)
UpdateWebhookRequest & WithBranchFilter(const char *value)
void SetRotateSecret(bool value)
void SetFilterGroups(Aws::Vector< Aws::Vector< WebhookFilter > > &&value)
void SetBuildType(const WebhookBuildType &value)
bool ProjectNameHasBeenSet() const
void SetProjectName(const Aws::String &value)
UpdateWebhookRequest & WithFilterGroups(const Aws::Vector< Aws::Vector< WebhookFilter > > &value)
void SetBuildType(WebhookBuildType &&value)
const WebhookBuildType & GetBuildType() const
UpdateWebhookRequest & WithRotateSecret(bool value)
UpdateWebhookRequest & WithProjectName(Aws::String &&value)
UpdateWebhookRequest & WithProjectName(const Aws::String &value)
UpdateWebhookRequest & WithFilterGroups(Aws::Vector< Aws::Vector< WebhookFilter > > &&value)
bool BranchFilterHasBeenSet() const
void SetBranchFilter(const char *value)
bool BuildTypeHasBeenSet() const
void SetProjectName(Aws::String &&value)
void SetBranchFilter(Aws::String &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateWebhookRequest & AddFilterGroups(const Aws::Vector< WebhookFilter > &value)
void SetFilterGroups(const Aws::Vector< Aws::Vector< WebhookFilter > > &value)
UpdateWebhookRequest & WithBranchFilter(Aws::String &&value)
UpdateWebhookRequest & WithBuildType(const WebhookBuildType &value)
UpdateWebhookRequest & WithProjectName(const char *value)
bool GetRotateSecret() const
virtual const char * GetServiceRequestName() const override
AWS_CODEBUILD_API Aws::String SerializePayload() const override
UpdateWebhookRequest & AddFilterGroups(Aws::Vector< WebhookFilter > &&value)
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