7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/CodePipelineRequest.h>
9#include <aws/codepipeline/model/WebhookDefinition.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codepipeline/model/Tag.h>
49 template<
typename WebhookT = WebhookDefinition>
50 void SetWebhook(WebhookT&& value) { m_webhookHasBeenSet =
true; m_webhook = std::forward<WebhookT>(value); }
51 template<
typename WebhookT = WebhookDefinition>
61 template<
typename TagsT = Aws::Vector<Tag>>
62 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
63 template<
typename TagsT = Aws::Vector<Tag>>
65 template<
typename TagsT = Tag>
66 PutWebhookRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
71 bool m_webhookHasBeenSet =
false;
74 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetWebhook(WebhookT &&value)
bool TagsHasBeenSet() const
PutWebhookRequest & WithTags(TagsT &&value)
AWS_CODEPIPELINE_API PutWebhookRequest()=default
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
PutWebhookRequest & WithWebhook(WebhookT &&value)
virtual const char * GetServiceRequestName() const override
const WebhookDefinition & GetWebhook() const
bool WebhookHasBeenSet() const
PutWebhookRequest & AddTags(TagsT &&value)
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector