AWS SDK for C++  1.8.51
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeBuild::Model::CreateWebhookRequest Class Reference

#include <CreateWebhookRequest.h>

+ Inheritance diagram for Aws::CodeBuild::Model::CreateWebhookRequest:

Public Member Functions

 CreateWebhookRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetProjectName () const
 
bool ProjectNameHasBeenSet () const
 
void SetProjectName (const Aws::String &value)
 
void SetProjectName (Aws::String &&value)
 
void SetProjectName (const char *value)
 
CreateWebhookRequestWithProjectName (const Aws::String &value)
 
CreateWebhookRequestWithProjectName (Aws::String &&value)
 
CreateWebhookRequestWithProjectName (const char *value)
 
const Aws::StringGetBranchFilter () const
 
bool BranchFilterHasBeenSet () const
 
void SetBranchFilter (const Aws::String &value)
 
void SetBranchFilter (Aws::String &&value)
 
void SetBranchFilter (const char *value)
 
CreateWebhookRequestWithBranchFilter (const Aws::String &value)
 
CreateWebhookRequestWithBranchFilter (Aws::String &&value)
 
CreateWebhookRequestWithBranchFilter (const char *value)
 
const Aws::Vector< Aws::Vector< WebhookFilter > > & GetFilterGroups () const
 
bool FilterGroupsHasBeenSet () const
 
void SetFilterGroups (const Aws::Vector< Aws::Vector< WebhookFilter >> &value)
 
void SetFilterGroups (Aws::Vector< Aws::Vector< WebhookFilter >> &&value)
 
CreateWebhookRequestWithFilterGroups (const Aws::Vector< Aws::Vector< WebhookFilter >> &value)
 
CreateWebhookRequestWithFilterGroups (Aws::Vector< Aws::Vector< WebhookFilter >> &&value)
 
CreateWebhookRequestAddFilterGroups (const Aws::Vector< WebhookFilter > &value)
 
CreateWebhookRequestAddFilterGroups (Aws::Vector< WebhookFilter > &&value)
 
const WebhookBuildTypeGetBuildType () const
 
bool BuildTypeHasBeenSet () const
 
void SetBuildType (const WebhookBuildType &value)
 
void SetBuildType (WebhookBuildType &&value)
 
CreateWebhookRequestWithBuildType (const WebhookBuildType &value)
 
CreateWebhookRequestWithBuildType (WebhookBuildType &&value)
 
- Public Member Functions inherited from Aws::CodeBuild::CodeBuildRequest
virtual ~CodeBuildRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 24 of file CreateWebhookRequest.h.

Constructor & Destructor Documentation

◆ CreateWebhookRequest()

Aws::CodeBuild::Model::CreateWebhookRequest::CreateWebhookRequest ( )

Member Function Documentation

◆ AddFilterGroups() [1/2]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::AddFilterGroups ( const Aws::Vector< WebhookFilter > &  value)
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 222 of file CreateWebhookRequest.h.

◆ AddFilterGroups() [2/2]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::AddFilterGroups ( Aws::Vector< WebhookFilter > &&  value)
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 232 of file CreateWebhookRequest.h.

◆ BranchFilterHasBeenSet()

bool Aws::CodeBuild::Model::CreateWebhookRequest::BranchFilterHasBeenSet ( ) const
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 97 of file CreateWebhookRequest.h.

◆ BuildTypeHasBeenSet()

bool Aws::CodeBuild::Model::CreateWebhookRequest::BuildTypeHasBeenSet ( ) const
inline

Specifies the type of build this webhook will trigger.

Definition at line 243 of file CreateWebhookRequest.h.

◆ FilterGroupsHasBeenSet()

bool Aws::CodeBuild::Model::CreateWebhookRequest::FilterGroupsHasBeenSet ( ) const
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 172 of file CreateWebhookRequest.h.

◆ GetBranchFilter()

const Aws::String& Aws::CodeBuild::Model::CreateWebhookRequest::GetBranchFilter ( ) const
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 88 of file CreateWebhookRequest.h.

◆ GetBuildType()

const WebhookBuildType& Aws::CodeBuild::Model::CreateWebhookRequest::GetBuildType ( ) const
inline

Specifies the type of build this webhook will trigger.

Definition at line 238 of file CreateWebhookRequest.h.

◆ GetFilterGroups()

const Aws::Vector<Aws::Vector<WebhookFilter> >& Aws::CodeBuild::Model::CreateWebhookRequest::GetFilterGroups ( ) const
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 162 of file CreateWebhookRequest.h.

◆ GetProjectName()

const Aws::String& Aws::CodeBuild::Model::CreateWebhookRequest::GetProjectName ( ) const
inline

The name of the AWS CodeBuild project.

Definition at line 43 of file CreateWebhookRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::CodeBuild::Model::CreateWebhookRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::CodeBuild::CodeBuildRequest.

◆ GetServiceRequestName()

virtual const char* Aws::CodeBuild::Model::CreateWebhookRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file CreateWebhookRequest.h.

◆ ProjectNameHasBeenSet()

bool Aws::CodeBuild::Model::CreateWebhookRequest::ProjectNameHasBeenSet ( ) const
inline

The name of the AWS CodeBuild project.

Definition at line 48 of file CreateWebhookRequest.h.

◆ SerializePayload()

Aws::String Aws::CodeBuild::Model::CreateWebhookRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBranchFilter() [1/3]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetBranchFilter ( const Aws::String value)
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 106 of file CreateWebhookRequest.h.

◆ SetBranchFilter() [2/3]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetBranchFilter ( Aws::String &&  value)
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 115 of file CreateWebhookRequest.h.

◆ SetBranchFilter() [3/3]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetBranchFilter ( const char *  value)
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 124 of file CreateWebhookRequest.h.

◆ SetBuildType() [1/2]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetBuildType ( const WebhookBuildType value)
inline

Specifies the type of build this webhook will trigger.

Definition at line 248 of file CreateWebhookRequest.h.

◆ SetBuildType() [2/2]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetBuildType ( WebhookBuildType &&  value)
inline

Specifies the type of build this webhook will trigger.

Definition at line 253 of file CreateWebhookRequest.h.

◆ SetFilterGroups() [1/2]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetFilterGroups ( const Aws::Vector< Aws::Vector< WebhookFilter >> &  value)
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 182 of file CreateWebhookRequest.h.

◆ SetFilterGroups() [2/2]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetFilterGroups ( Aws::Vector< Aws::Vector< WebhookFilter >> &&  value)
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 192 of file CreateWebhookRequest.h.

◆ SetProjectName() [1/3]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetProjectName ( const Aws::String value)
inline

The name of the AWS CodeBuild project.

Definition at line 53 of file CreateWebhookRequest.h.

◆ SetProjectName() [2/3]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetProjectName ( Aws::String &&  value)
inline

The name of the AWS CodeBuild project.

Definition at line 58 of file CreateWebhookRequest.h.

◆ SetProjectName() [3/3]

void Aws::CodeBuild::Model::CreateWebhookRequest::SetProjectName ( const char *  value)
inline

The name of the AWS CodeBuild project.

Definition at line 63 of file CreateWebhookRequest.h.

◆ WithBranchFilter() [1/3]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithBranchFilter ( const Aws::String value)
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 133 of file CreateWebhookRequest.h.

◆ WithBranchFilter() [2/3]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithBranchFilter ( Aws::String &&  value)
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 142 of file CreateWebhookRequest.h.

◆ WithBranchFilter() [3/3]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithBranchFilter ( const char *  value)
inline

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

Definition at line 151 of file CreateWebhookRequest.h.

◆ WithBuildType() [1/2]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithBuildType ( const WebhookBuildType value)
inline

Specifies the type of build this webhook will trigger.

Definition at line 258 of file CreateWebhookRequest.h.

◆ WithBuildType() [2/2]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithBuildType ( WebhookBuildType &&  value)
inline

Specifies the type of build this webhook will trigger.

Definition at line 263 of file CreateWebhookRequest.h.

◆ WithFilterGroups() [1/2]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithFilterGroups ( const Aws::Vector< Aws::Vector< WebhookFilter >> &  value)
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 202 of file CreateWebhookRequest.h.

◆ WithFilterGroups() [2/2]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithFilterGroups ( Aws::Vector< Aws::Vector< WebhookFilter >> &&  value)
inline

An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

Definition at line 212 of file CreateWebhookRequest.h.

◆ WithProjectName() [1/3]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithProjectName ( const Aws::String value)
inline

The name of the AWS CodeBuild project.

Definition at line 68 of file CreateWebhookRequest.h.

◆ WithProjectName() [2/3]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithProjectName ( Aws::String &&  value)
inline

The name of the AWS CodeBuild project.

Definition at line 73 of file CreateWebhookRequest.h.

◆ WithProjectName() [3/3]

CreateWebhookRequest& Aws::CodeBuild::Model::CreateWebhookRequest::WithProjectName ( const char *  value)
inline

The name of the AWS CodeBuild project.

Definition at line 78 of file CreateWebhookRequest.h.


The documentation for this class was generated from the following file: