7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/Tag.h>
9#include <aws/codepipeline/model/WebhookDefinition.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace CodePipeline {
47 template <
typename DefinitionT = WebhookDefinition>
49 m_definitionHasBeenSet =
true;
50 m_definition = std::forward<DefinitionT>(value);
52 template <
typename DefinitionT = WebhookDefinition>
68 template <
typename UrlT = Aws::String>
70 m_urlHasBeenSet =
true;
71 m_url = std::forward<UrlT>(value);
73 template <
typename UrlT = Aws::String>
75 SetUrl(std::forward<UrlT>(value));
86 template <
typename ErrorMessageT = Aws::String>
88 m_errorMessageHasBeenSet =
true;
89 m_errorMessage = std::forward<ErrorMessageT>(value);
91 template <
typename ErrorMessageT = Aws::String>
104 template <
typename ErrorCodeT = Aws::String>
106 m_errorCodeHasBeenSet =
true;
107 m_errorCode = std::forward<ErrorCodeT>(value);
109 template <
typename ErrorCodeT = Aws::String>
123 template <
typename LastTriggeredT = Aws::Utils::DateTime>
125 m_lastTriggeredHasBeenSet =
true;
126 m_lastTriggered = std::forward<LastTriggeredT>(value);
128 template <
typename LastTriggeredT = Aws::Utils::DateTime>
141 template <
typename ArnT = Aws::String>
143 m_arnHasBeenSet =
true;
144 m_arn = std::forward<ArnT>(value);
146 template <
typename ArnT = Aws::String>
148 SetArn(std::forward<ArnT>(value));
159 template <
typename TagsT = Aws::Vector<Tag>>
161 m_tagsHasBeenSet =
true;
162 m_tags = std::forward<TagsT>(value);
164 template <
typename TagsT = Aws::Vector<Tag>>
166 SetTags(std::forward<TagsT>(value));
169 template <
typename TagsT = Tag>
171 m_tagsHasBeenSet =
true;
172 m_tags.emplace_back(std::forward<TagsT>(value));
190 bool m_definitionHasBeenSet =
false;
191 bool m_urlHasBeenSet =
false;
192 bool m_errorMessageHasBeenSet =
false;
193 bool m_errorCodeHasBeenSet =
false;
194 bool m_lastTriggeredHasBeenSet =
false;
195 bool m_arnHasBeenSet =
false;
196 bool m_tagsHasBeenSet =
false;
ListWebhookItem & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorCode() const
bool TagsHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
const WebhookDefinition & GetDefinition() const
void SetArn(ArnT &&value)
const Aws::String & GetErrorMessage() const
ListWebhookItem & AddTags(TagsT &&value)
void SetDefinition(DefinitionT &&value)
void SetLastTriggered(LastTriggeredT &&value)
ListWebhookItem & WithErrorCode(ErrorCodeT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(ErrorCodeT &&value)
void SetUrl(UrlT &&value)
AWS_CODEPIPELINE_API ListWebhookItem()=default
void SetTags(TagsT &&value)
const Aws::String & GetArn() const
bool LastTriggeredHasBeenSet() const
bool ErrorCodeHasBeenSet() const
ListWebhookItem & WithLastTriggered(LastTriggeredT &&value)
ListWebhookItem & WithDefinition(DefinitionT &&value)
const Aws::Vector< Tag > & GetTags() const
ListWebhookItem & WithUrl(UrlT &&value)
bool ErrorMessageHasBeenSet() const
ListWebhookItem & WithArn(ArnT &&value)
ListWebhookItem & WithTags(TagsT &&value)
bool DefinitionHasBeenSet() const
bool ArnHasBeenSet() const
bool UrlHasBeenSet() const
AWS_CODEPIPELINE_API ListWebhookItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUrl() const
AWS_CODEPIPELINE_API ListWebhookItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastTriggered() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue