7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/WebhookDefinition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codepipeline/model/Tag.h>
69 inline void SetUrl(
Aws::String&& value) { m_urlHasBeenSet =
true; m_url = std::move(value); }
70 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
84 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
98 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
125 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
147 bool m_definitionHasBeenSet =
false;
150 bool m_urlHasBeenSet =
false;
153 bool m_errorMessageHasBeenSet =
false;
156 bool m_errorCodeHasBeenSet =
false;
159 bool m_lastTriggeredHasBeenSet =
false;
162 bool m_arnHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
void SetErrorCode(Aws::String &&value)
void SetErrorMessage(const char *value)
ListWebhookItem & WithDefinition(const WebhookDefinition &value)
void SetArn(const char *value)
const Aws::String & GetErrorCode() const
ListWebhookItem & WithErrorMessage(Aws::String &&value)
bool TagsHasBeenSet() const
void SetUrl(Aws::String &&value)
ListWebhookItem & WithLastTriggered(Aws::Utils::DateTime &&value)
void SetUrl(const char *value)
ListWebhookItem & AddTags(Tag &&value)
void SetDefinition(WebhookDefinition &&value)
const WebhookDefinition & GetDefinition() const
void SetErrorMessage(Aws::String &&value)
const Aws::String & GetErrorMessage() const
void SetDefinition(const WebhookDefinition &value)
ListWebhookItem & WithUrl(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
ListWebhookItem & WithLastTriggered(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
ListWebhookItem & WithUrl(const Aws::String &value)
ListWebhookItem & WithErrorCode(const Aws::String &value)
ListWebhookItem & WithDefinition(WebhookDefinition &&value)
ListWebhookItem & WithErrorCode(const char *value)
void SetLastTriggered(Aws::Utils::DateTime &&value)
ListWebhookItem & AddTags(const Tag &value)
void SetErrorCode(const char *value)
ListWebhookItem & WithErrorCode(Aws::String &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ListWebhookItem & WithArn(Aws::String &&value)
void SetUrl(const Aws::String &value)
ListWebhookItem & WithUrl(const char *value)
const Aws::String & GetArn() const
bool LastTriggeredHasBeenSet() const
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
AWS_CODEPIPELINE_API ListWebhookItem()
void SetArn(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool ErrorMessageHasBeenSet() const
ListWebhookItem & WithTags(const Aws::Vector< Tag > &value)
bool DefinitionHasBeenSet() const
bool ArnHasBeenSet() const
ListWebhookItem & WithTags(Aws::Vector< Tag > &&value)
bool UrlHasBeenSet() const
ListWebhookItem & WithErrorMessage(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_CODEPIPELINE_API ListWebhookItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUrl() const
ListWebhookItem & WithErrorMessage(const Aws::String &value)
ListWebhookItem & WithArn(const char *value)
AWS_CODEPIPELINE_API ListWebhookItem(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const Aws::String &value)
const Aws::Utils::DateTime & GetLastTriggered() const
ListWebhookItem & WithArn(const Aws::String &value)
void SetLastTriggered(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue