7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename WebhookArnT = Aws::String>
49 void SetWebhookArn(WebhookArnT&& value) { m_webhookArnHasBeenSet =
true; m_webhookArn = std::forward<WebhookArnT>(value); }
50 template<
typename WebhookArnT = Aws::String>
60 template<
typename WebhookIdT = Aws::String>
61 void SetWebhookId(WebhookIdT&& value) { m_webhookIdHasBeenSet =
true; m_webhookId = std::forward<WebhookIdT>(value); }
62 template<
typename WebhookIdT = Aws::String>
72 template<
typename WebhookUrlT = Aws::String>
73 void SetWebhookUrl(WebhookUrlT&& value) { m_webhookUrlHasBeenSet =
true; m_webhookUrl = std::forward<WebhookUrlT>(value); }
74 template<
typename WebhookUrlT = Aws::String>
84 template<
typename AppIdT = Aws::String>
85 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
86 template<
typename AppIdT = Aws::String>
96 template<
typename BranchNameT = Aws::String>
97 void SetBranchName(BranchNameT&& value) { m_branchNameHasBeenSet =
true; m_branchName = std::forward<BranchNameT>(value); }
98 template<
typename BranchNameT = Aws::String>
108 template<
typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
110 template<
typename DescriptionT = Aws::String>
120 template<
typename CreateTimeT = Aws::Utils::DateTime>
121 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
122 template<
typename CreateTimeT = Aws::Utils::DateTime>
132 template<
typename UpdateTimeT = Aws::Utils::DateTime>
133 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
134 template<
typename UpdateTimeT = Aws::Utils::DateTime>
140 bool m_webhookArnHasBeenSet =
false;
143 bool m_webhookIdHasBeenSet =
false;
146 bool m_webhookUrlHasBeenSet =
false;
149 bool m_appIdHasBeenSet =
false;
152 bool m_branchNameHasBeenSet =
false;
155 bool m_descriptionHasBeenSet =
false;
158 bool m_createTimeHasBeenSet =
false;
161 bool m_updateTimeHasBeenSet =
false;
bool WebhookIdHasBeenSet() const
void SetBranchName(BranchNameT &&value)
void SetUpdateTime(UpdateTimeT &&value)
AWS_AMPLIFY_API Webhook()=default
bool DescriptionHasBeenSet() const
Webhook & WithBranchName(BranchNameT &&value)
const Aws::String & GetBranchName() const
Webhook & WithCreateTime(CreateTimeT &&value)
bool BranchNameHasBeenSet() const
void SetDescription(DescriptionT &&value)
Webhook & WithUpdateTime(UpdateTimeT &&value)
Webhook & WithWebhookUrl(WebhookUrlT &&value)
bool WebhookUrlHasBeenSet() const
const Aws::String & GetWebhookId() const
void SetWebhookArn(WebhookArnT &&value)
AWS_AMPLIFY_API Webhook(Aws::Utils::Json::JsonView jsonValue)
void SetAppId(AppIdT &&value)
bool AppIdHasBeenSet() const
void SetWebhookUrl(WebhookUrlT &&value)
Webhook & WithAppId(AppIdT &&value)
Webhook & WithWebhookArn(WebhookArnT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::String & GetWebhookArn() const
bool WebhookArnHasBeenSet() const
bool UpdateTimeHasBeenSet() const
bool CreateTimeHasBeenSet() const
const Aws::String & GetDescription() const
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetWebhookUrl() const
Webhook & WithWebhookId(WebhookIdT &&value)
const Aws::String & GetAppId() const
void SetWebhookId(WebhookIdT &&value)
Webhook & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetCreateTime(CreateTimeT &&value)
AWS_AMPLIFY_API Webhook & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue