7#include <aws/codepipeline/CodePipelineRequest.h>
8#include <aws/codepipeline/CodePipeline_EXPORTS.h>
9#include <aws/codepipeline/model/Tag.h>
10#include <aws/codepipeline/model/WebhookDefinition.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace CodePipeline {
45 template <
typename WebhookT = WebhookDefinition>
47 m_webhookHasBeenSet =
true;
48 m_webhook = std::forward<WebhookT>(value);
50 template <
typename WebhookT = WebhookDefinition>
63 template <
typename TagsT = Aws::Vector<Tag>>
65 m_tagsHasBeenSet =
true;
66 m_tags = std::forward<TagsT>(value);
68 template <
typename TagsT = Aws::Vector<Tag>>
70 SetTags(std::forward<TagsT>(value));
73 template <
typename TagsT = Tag>
75 m_tagsHasBeenSet =
true;
76 m_tags.emplace_back(std::forward<TagsT>(value));
84 bool m_webhookHasBeenSet =
false;
85 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