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/core/utils/memory/stl/AWSVector.h>
11#include <aws/codestar-notifications/model/DetailType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/codestar-notifications/model/NotificationRuleStatus.h>
14#include <aws/codestar-notifications/model/Target.h>
16#include <aws/core/utils/UUID.h>
20namespace CodeStarNotifications
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
133 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
175 bool m_nameHasBeenSet =
false;
178 bool m_eventTypeIdsHasBeenSet =
false;
181 bool m_resourceHasBeenSet =
false;
184 bool m_targetsHasBeenSet =
false;
187 bool m_detailTypeHasBeenSet =
false;
190 bool m_clientRequestTokenHasBeenSet =
false;
193 bool m_tagsHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
void SetName(const Aws::String &value)
CreateNotificationRuleRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool ResourceHasBeenSet() const
const Aws::String & GetResource() const
CreateNotificationRuleRequest & AddEventTypeIds(const char *value)
void SetEventTypeIds(Aws::Vector< Aws::String > &&value)
CreateNotificationRuleRequest & WithClientRequestToken(Aws::String &&value)
CreateNotificationRuleRequest & WithClientRequestToken(const char *value)
CreateNotificationRuleRequest & WithClientRequestToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetStatus(const NotificationRuleStatus &value)
const DetailType & GetDetailType() const
void SetResource(Aws::String &&value)
CreateNotificationRuleRequest & WithName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatus(NotificationRuleStatus &&value)
bool TargetsHasBeenSet() const
const Aws::Vector< Aws::String > & GetEventTypeIds() const
CreateNotificationRuleRequest & WithDetailType(DetailType &&value)
const Aws::String & GetClientRequestToken() const
void SetTargets(Aws::Vector< Target > &&value)
CreateNotificationRuleRequest & AddTags(const char *key, Aws::String &&value)
const NotificationRuleStatus & GetStatus() const
bool DetailTypeHasBeenSet() const
void SetClientRequestToken(const char *value)
void SetClientRequestToken(Aws::String &&value)
CreateNotificationRuleRequest & WithResource(const Aws::String &value)
void SetName(const char *value)
CreateNotificationRuleRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetResource(const Aws::String &value)
CreateNotificationRuleRequest & AddEventTypeIds(const Aws::String &value)
CreateNotificationRuleRequest & AddTargets(Target &&value)
void SetClientRequestToken(const Aws::String &value)
AWS_CODESTARNOTIFICATIONS_API CreateNotificationRuleRequest()
AWS_CODESTARNOTIFICATIONS_API Aws::String SerializePayload() const override
const Aws::String & GetName() const
CreateNotificationRuleRequest & AddTags(Aws::String &&key, const char *value)
CreateNotificationRuleRequest & AddEventTypeIds(Aws::String &&value)
bool EventTypeIdsHasBeenSet() const
CreateNotificationRuleRequest & WithResource(const char *value)
bool NameHasBeenSet() const
CreateNotificationRuleRequest & WithEventTypeIds(const Aws::Vector< Aws::String > &value)
CreateNotificationRuleRequest & WithName(const char *value)
const Aws::Vector< Target > & GetTargets() const
CreateNotificationRuleRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateNotificationRuleRequest & AddTags(const char *key, const char *value)
void SetName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetEventTypeIds(const Aws::Vector< Aws::String > &value)
bool StatusHasBeenSet() const
CreateNotificationRuleRequest & WithName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateNotificationRuleRequest & WithEventTypeIds(Aws::Vector< Aws::String > &&value)
bool TagsHasBeenSet() const
CreateNotificationRuleRequest & WithStatus(NotificationRuleStatus &&value)
void SetDetailType(const DetailType &value)
bool ClientRequestTokenHasBeenSet() const
CreateNotificationRuleRequest & WithStatus(const NotificationRuleStatus &value)
CreateNotificationRuleRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateNotificationRuleRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateNotificationRuleRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTargets(const Aws::Vector< Target > &value)
CreateNotificationRuleRequest & WithDetailType(const DetailType &value)
CreateNotificationRuleRequest & AddTargets(const Target &value)
CreateNotificationRuleRequest & WithTargets(Aws::Vector< Target > &&value)
void SetResource(const char *value)
void SetDetailType(DetailType &&value)
CreateNotificationRuleRequest & WithTargets(const Aws::Vector< Target > &value)
CreateNotificationRuleRequest & WithResource(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector