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/ScopeConfiguration.h>
13#include <aws/codebuild/model/WebhookFilter.h>
49 inline void SetProjectName(
const char* value) { m_projectNameHasBeenSet =
true; m_projectName.assign(value); }
67 inline void SetBranchFilter(
const char* value) { m_branchFilterHasBeenSet =
true; m_branchFilter.assign(value); }
114 inline void SetManualCreation(
bool value) { m_manualCreationHasBeenSet =
true; m_manualCreation = value; }
134 bool m_projectNameHasBeenSet =
false;
137 bool m_branchFilterHasBeenSet =
false;
140 bool m_filterGroupsHasBeenSet =
false;
143 bool m_buildTypeHasBeenSet =
false;
145 bool m_manualCreation;
146 bool m_manualCreationHasBeenSet =
false;
149 bool m_scopeConfigurationHasBeenSet =
false;
const Aws::String & GetProjectName() const
CreateWebhookRequest & WithScopeConfiguration(const ScopeConfiguration &value)
void SetBuildType(const WebhookBuildType &value)
CreateWebhookRequest & AddFilterGroups(Aws::Vector< WebhookFilter > &&value)
CreateWebhookRequest & WithBuildType(const WebhookBuildType &value)
CreateWebhookRequest & WithProjectName(const char *value)
void SetScopeConfiguration(const ScopeConfiguration &value)
bool BranchFilterHasBeenSet() const
void SetBranchFilter(const char *value)
void SetProjectName(const Aws::String &value)
CreateWebhookRequest & WithBranchFilter(const Aws::String &value)
CreateWebhookRequest & WithBranchFilter(const char *value)
CreateWebhookRequest & WithFilterGroups(const Aws::Vector< Aws::Vector< WebhookFilter > > &value)
void SetFilterGroups(const Aws::Vector< Aws::Vector< WebhookFilter > > &value)
void SetManualCreation(bool value)
CreateWebhookRequest & WithProjectName(Aws::String &&value)
bool FilterGroupsHasBeenSet() const
bool ManualCreationHasBeenSet() const
void SetBuildType(WebhookBuildType &&value)
CreateWebhookRequest & WithProjectName(const Aws::String &value)
CreateWebhookRequest & WithManualCreation(bool value)
bool BuildTypeHasBeenSet() const
const Aws::String & GetBranchFilter() const
CreateWebhookRequest & AddFilterGroups(const Aws::Vector< WebhookFilter > &value)
CreateWebhookRequest & WithScopeConfiguration(ScopeConfiguration &&value)
CreateWebhookRequest & WithFilterGroups(Aws::Vector< Aws::Vector< WebhookFilter > > &&value)
const WebhookBuildType & GetBuildType() const
void SetBranchFilter(Aws::String &&value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
void SetProjectName(Aws::String &&value)
bool GetManualCreation() const
void SetBranchFilter(const Aws::String &value)
CreateWebhookRequest & WithBuildType(WebhookBuildType &&value)
AWS_CODEBUILD_API CreateWebhookRequest()
virtual const char * GetServiceRequestName() const override
void SetFilterGroups(Aws::Vector< Aws::Vector< WebhookFilter > > &&value)
bool ScopeConfigurationHasBeenSet() const
void SetScopeConfiguration(ScopeConfiguration &&value)
const ScopeConfiguration & GetScopeConfiguration() const
void SetProjectName(const char *value)
CreateWebhookRequest & WithBranchFilter(Aws::String &&value)
const Aws::Vector< Aws::Vector< WebhookFilter > > & GetFilterGroups() const
bool ProjectNameHasBeenSet() const
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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