7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codebuild/model/WebhookBuildType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/codebuild/model/ScopeConfiguration.h>
13#include <aws/codebuild/model/WebhookFilter.h>
53 inline void SetUrl(
Aws::String&& value) { m_urlHasBeenSet =
true; m_url = std::move(value); }
54 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
68 inline void SetPayloadUrl(
const char* value) { m_payloadUrlHasBeenSet =
true; m_payloadUrl.assign(value); }
83 inline void SetSecret(
const char* value) { m_secretHasBeenSet =
true; m_secret.assign(value); }
101 inline void SetBranchFilter(
const char* value) { m_branchFilterHasBeenSet =
true; m_branchFilter.assign(value); }
148 inline void SetManualCreation(
bool value) { m_manualCreationHasBeenSet =
true; m_manualCreation = value; }
181 bool m_urlHasBeenSet =
false;
184 bool m_payloadUrlHasBeenSet =
false;
187 bool m_secretHasBeenSet =
false;
190 bool m_branchFilterHasBeenSet =
false;
193 bool m_filterGroupsHasBeenSet =
false;
196 bool m_buildTypeHasBeenSet =
false;
198 bool m_manualCreation;
199 bool m_manualCreationHasBeenSet =
false;
202 bool m_lastModifiedSecretHasBeenSet =
false;
205 bool m_scopeConfigurationHasBeenSet =
false;
bool GetManualCreation() const
void SetFilterGroups(Aws::Vector< Aws::Vector< WebhookFilter > > &&value)
Webhook & WithManualCreation(bool value)
void SetBranchFilter(const Aws::String &value)
Webhook & WithLastModifiedSecret(Aws::Utils::DateTime &&value)
void SetBranchFilter(Aws::String &&value)
AWS_CODEBUILD_API Webhook()
void SetUrl(const Aws::String &value)
Webhook & WithBuildType(WebhookBuildType &&value)
void SetBuildType(const WebhookBuildType &value)
Webhook & WithBranchFilter(const char *value)
Webhook & WithPayloadUrl(const char *value)
Webhook & WithFilterGroups(Aws::Vector< Aws::Vector< WebhookFilter > > &&value)
bool SecretHasBeenSet() const
void SetFilterGroups(const Aws::Vector< Aws::Vector< WebhookFilter > > &value)
const Aws::String & GetSecret() const
bool FilterGroupsHasBeenSet() const
Webhook & WithPayloadUrl(Aws::String &&value)
Webhook & AddFilterGroups(const Aws::Vector< WebhookFilter > &value)
void SetSecret(Aws::String &&value)
Webhook & AddFilterGroups(Aws::Vector< WebhookFilter > &&value)
const Aws::String & GetBranchFilter() const
void SetPayloadUrl(Aws::String &&value)
void SetBranchFilter(const char *value)
bool PayloadUrlHasBeenSet() const
Webhook & WithUrl(const Aws::String &value)
bool ScopeConfigurationHasBeenSet() const
AWS_CODEBUILD_API Webhook(Aws::Utils::Json::JsonView jsonValue)
void SetManualCreation(bool value)
Webhook & WithBranchFilter(const Aws::String &value)
void SetLastModifiedSecret(const Aws::Utils::DateTime &value)
void SetUrl(Aws::String &&value)
Webhook & WithSecret(Aws::String &&value)
bool ManualCreationHasBeenSet() const
Webhook & WithBuildType(const WebhookBuildType &value)
void SetLastModifiedSecret(Aws::Utils::DateTime &&value)
Webhook & WithLastModifiedSecret(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::Vector< WebhookFilter > > & GetFilterGroups() const
void SetBuildType(WebhookBuildType &&value)
const Aws::String & GetPayloadUrl() const
Webhook & WithUrl(Aws::String &&value)
Webhook & WithPayloadUrl(const Aws::String &value)
const ScopeConfiguration & GetScopeConfiguration() const
void SetScopeConfiguration(ScopeConfiguration &&value)
Webhook & WithScopeConfiguration(ScopeConfiguration &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
Webhook & WithScopeConfiguration(const ScopeConfiguration &value)
AWS_CODEBUILD_API Webhook & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUrl(const char *value)
Webhook & WithBranchFilter(Aws::String &&value)
Webhook & WithUrl(const char *value)
const Aws::Utils::DateTime & GetLastModifiedSecret() const
bool UrlHasBeenSet() const
Webhook & WithSecret(const Aws::String &value)
void SetSecret(const Aws::String &value)
void SetScopeConfiguration(const ScopeConfiguration &value)
bool BranchFilterHasBeenSet() const
void SetPayloadUrl(const Aws::String &value)
void SetSecret(const char *value)
void SetPayloadUrl(const char *value)
const WebhookBuildType & GetBuildType() const
Webhook & WithFilterGroups(const Aws::Vector< Aws::Vector< WebhookFilter > > &value)
bool LastModifiedSecretHasBeenSet() const
Webhook & WithSecret(const char *value)
bool BuildTypeHasBeenSet() const
const Aws::String & GetUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue