7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/WebhookType.h>
20namespace DevOpsAgent {
42 template <
typename WebhookUrlT = Aws::String>
44 m_webhookUrlHasBeenSet =
true;
45 m_webhookUrl = std::forward<WebhookUrlT>(value);
47 template <
typename WebhookUrlT = Aws::String>
60 template <
typename WebhookIdT = Aws::String>
62 m_webhookIdHasBeenSet =
true;
63 m_webhookId = std::forward<WebhookIdT>(value);
65 template <
typename WebhookIdT = Aws::String>
79 m_webhookTypeHasBeenSet =
true;
80 m_webhookType = value;
94 template <
typename WebhookSecretT = Aws::String>
96 m_webhookSecretHasBeenSet =
true;
97 m_webhookSecret = std::forward<WebhookSecretT>(value);
99 template <
typename WebhookSecretT = Aws::String>
112 template <
typename ApiKeyT = Aws::String>
114 m_apiKeyHasBeenSet =
true;
115 m_apiKey = std::forward<ApiKeyT>(value);
117 template <
typename ApiKeyT = Aws::String>
133 bool m_webhookUrlHasBeenSet =
false;
134 bool m_webhookIdHasBeenSet =
false;
135 bool m_webhookTypeHasBeenSet =
false;
136 bool m_webhookSecretHasBeenSet =
false;
137 bool m_apiKeyHasBeenSet =
false;
AWS_DEVOPSAGENT_API GenericWebhook(Aws::Utils::Json::JsonView jsonValue)
GenericWebhook & WithApiKey(ApiKeyT &&value)
void SetWebhookType(WebhookType value)
AWS_DEVOPSAGENT_API GenericWebhook & operator=(Aws::Utils::Json::JsonView jsonValue)
bool WebhookTypeHasBeenSet() const
bool WebhookSecretHasBeenSet() const
WebhookType GetWebhookType() const
GenericWebhook & WithWebhookSecret(WebhookSecretT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool WebhookUrlHasBeenSet() const
bool ApiKeyHasBeenSet() const
GenericWebhook & WithWebhookUrl(WebhookUrlT &&value)
GenericWebhook & WithWebhookType(WebhookType value)
void SetWebhookSecret(WebhookSecretT &&value)
bool WebhookIdHasBeenSet() const
AWS_DEVOPSAGENT_API GenericWebhook()=default
const Aws::String & GetWebhookUrl() const
GenericWebhook & WithWebhookId(WebhookIdT &&value)
void SetWebhookUrl(WebhookUrlT &&value)
void SetWebhookId(WebhookIdT &&value)
const Aws::String & GetApiKey() const
const Aws::String & GetWebhookId() const
void SetApiKey(ApiKeyT &&value)
const Aws::String & GetWebhookSecret() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue