7#include <aws/codestar-notifications/CodeStarNotifications_EXPORTS.h>
8#include <aws/codestar-notifications/CodeStarNotificationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codestar-notifications/model/NotificationRuleStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codestar-notifications/model/DetailType.h>
13#include <aws/codestar-notifications/model/Target.h>
18namespace CodeStarNotifications
46 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
47 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
61 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
131 bool m_arnHasBeenSet =
false;
134 bool m_nameHasBeenSet =
false;
137 bool m_statusHasBeenSet =
false;
140 bool m_eventTypeIdsHasBeenSet =
false;
143 bool m_targetsHasBeenSet =
false;
146 bool m_detailTypeHasBeenSet =
false;
AWS_CODESTARNOTIFICATIONS_API UpdateNotificationRuleRequest()
void SetTargets(Aws::Vector< Target > &&value)
void SetDetailType(const DetailType &value)
UpdateNotificationRuleRequest & AddEventTypeIds(Aws::String &&value)
const Aws::Vector< Target > & GetTargets() const
UpdateNotificationRuleRequest & WithTargets(const Aws::Vector< Target > &value)
bool EventTypeIdsHasBeenSet() const
bool ArnHasBeenSet() const
UpdateNotificationRuleRequest & WithArn(const char *value)
UpdateNotificationRuleRequest & WithStatus(const NotificationRuleStatus &value)
UpdateNotificationRuleRequest & AddTargets(const Target &value)
virtual const char * GetServiceRequestName() const override
UpdateNotificationRuleRequest & WithDetailType(const DetailType &value)
UpdateNotificationRuleRequest & WithStatus(NotificationRuleStatus &&value)
UpdateNotificationRuleRequest & WithName(const Aws::String &value)
const Aws::String & GetName() const
UpdateNotificationRuleRequest & WithEventTypeIds(Aws::Vector< Aws::String > &&value)
UpdateNotificationRuleRequest & WithTargets(Aws::Vector< Target > &&value)
const Aws::String & GetArn() const
bool DetailTypeHasBeenSet() const
void SetName(const char *value)
void SetDetailType(DetailType &&value)
UpdateNotificationRuleRequest & WithDetailType(DetailType &&value)
void SetName(const Aws::String &value)
const DetailType & GetDetailType() const
UpdateNotificationRuleRequest & AddTargets(Target &&value)
UpdateNotificationRuleRequest & AddEventTypeIds(const char *value)
void SetTargets(const Aws::Vector< Target > &value)
UpdateNotificationRuleRequest & WithArn(const Aws::String &value)
AWS_CODESTARNOTIFICATIONS_API Aws::String SerializePayload() const override
void SetArn(const Aws::String &value)
bool StatusHasBeenSet() const
void SetStatus(const NotificationRuleStatus &value)
bool NameHasBeenSet() const
UpdateNotificationRuleRequest & WithArn(Aws::String &&value)
const NotificationRuleStatus & GetStatus() const
UpdateNotificationRuleRequest & AddEventTypeIds(const Aws::String &value)
UpdateNotificationRuleRequest & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEventTypeIds() const
void SetEventTypeIds(Aws::Vector< Aws::String > &&value)
void SetArn(Aws::String &&value)
void SetArn(const char *value)
UpdateNotificationRuleRequest & WithName(const char *value)
UpdateNotificationRuleRequest & WithEventTypeIds(const Aws::Vector< Aws::String > &value)
void SetName(Aws::String &&value)
void SetEventTypeIds(const Aws::Vector< Aws::String > &value)
void SetStatus(NotificationRuleStatus &&value)
bool TargetsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector