7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codepipeline/model/WebhookAuthenticationType.h>
11#include <aws/codepipeline/model/WebhookAuthConfiguration.h>
12#include <aws/codepipeline/model/WebhookFilterRule.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetTargetPipeline(
const char* value) { m_targetPipelineHasBeenSet =
true; m_targetPipeline.assign(value); }
82 inline void SetTargetAction(
const char* value) { m_targetActionHasBeenSet =
true; m_targetAction.assign(value); }
150 bool m_nameHasBeenSet =
false;
153 bool m_targetPipelineHasBeenSet =
false;
156 bool m_targetActionHasBeenSet =
false;
159 bool m_filtersHasBeenSet =
false;
162 bool m_authenticationHasBeenSet =
false;
165 bool m_authenticationConfigurationHasBeenSet =
false;
AWS_CODEPIPELINE_API WebhookDefinition(Aws::Utils::Json::JsonView jsonValue)
WebhookDefinition & WithName(Aws::String &&value)
void SetAuthentication(const WebhookAuthenticationType &value)
const Aws::String & GetTargetAction() const
void SetTargetPipeline(Aws::String &&value)
WebhookDefinition & WithTargetAction(Aws::String &&value)
WebhookDefinition & WithName(const Aws::String &value)
void SetTargetAction(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_CODEPIPELINE_API WebhookDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FiltersHasBeenSet() const
WebhookDefinition & WithTargetPipeline(Aws::String &&value)
void SetTargetAction(const char *value)
void SetAuthentication(WebhookAuthenticationType &&value)
WebhookDefinition & WithTargetAction(const Aws::String &value)
WebhookDefinition & WithAuthentication(const WebhookAuthenticationType &value)
void SetFilters(const Aws::Vector< WebhookFilterRule > &value)
WebhookDefinition & WithAuthenticationConfiguration(const WebhookAuthConfiguration &value)
void SetAuthenticationConfiguration(const WebhookAuthConfiguration &value)
void SetName(const char *value)
WebhookDefinition & WithFilters(const Aws::Vector< WebhookFilterRule > &value)
void SetName(Aws::String &&value)
const Aws::Vector< WebhookFilterRule > & GetFilters() const
WebhookDefinition & AddFilters(WebhookFilterRule &&value)
const WebhookAuthenticationType & GetAuthentication() const
WebhookDefinition & AddFilters(const WebhookFilterRule &value)
bool TargetActionHasBeenSet() const
void SetTargetPipeline(const char *value)
void SetTargetAction(Aws::String &&value)
WebhookDefinition & WithAuthentication(WebhookAuthenticationType &&value)
bool AuthenticationConfigurationHasBeenSet() const
WebhookDefinition & WithTargetPipeline(const Aws::String &value)
bool AuthenticationHasBeenSet() const
WebhookDefinition & WithAuthenticationConfiguration(WebhookAuthConfiguration &&value)
const Aws::String & GetTargetPipeline() const
bool TargetPipelineHasBeenSet() const
WebhookDefinition & WithName(const char *value)
WebhookDefinition & WithFilters(Aws::Vector< WebhookFilterRule > &&value)
WebhookDefinition & WithTargetPipeline(const char *value)
bool NameHasBeenSet() const
void SetAuthenticationConfiguration(WebhookAuthConfiguration &&value)
const Aws::String & GetName() const
void SetTargetPipeline(const Aws::String &value)
void SetFilters(Aws::Vector< WebhookFilterRule > &&value)
WebhookDefinition & WithTargetAction(const char *value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API WebhookDefinition()
const WebhookAuthConfiguration & GetAuthenticationConfiguration() const
WebhookAuthenticationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue