7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/CloudWatchEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15namespace CloudWatchEvents
46 inline void SetRule(
const char* value) { m_ruleHasBeenSet =
true; m_rule.assign(value); }
61 inline void SetEventBusName(
const char* value) { m_eventBusNameHasBeenSet =
true; m_eventBusName.assign(value); }
91 inline bool GetForce()
const{
return m_force; }
93 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
99 bool m_ruleHasBeenSet =
false;
102 bool m_eventBusNameHasBeenSet =
false;
105 bool m_idsHasBeenSet =
false;
108 bool m_forceHasBeenSet =
false;
RemoveTargetsRequest & WithRule(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveTargetsRequest & AddIds(Aws::String &&value)
RemoveTargetsRequest & WithForce(bool value)
bool ForceHasBeenSet() const
bool EventBusNameHasBeenSet() const
void SetEventBusName(Aws::String &&value)
RemoveTargetsRequest & WithIds(const Aws::Vector< Aws::String > &value)
void SetIds(Aws::Vector< Aws::String > &&value)
RemoveTargetsRequest & AddIds(const Aws::String &value)
void SetRule(Aws::String &&value)
RemoveTargetsRequest & WithRule(Aws::String &&value)
void SetForce(bool value)
AWS_CLOUDWATCHEVENTS_API RemoveTargetsRequest()
RemoveTargetsRequest & WithEventBusName(Aws::String &&value)
bool RuleHasBeenSet() const
const Aws::Vector< Aws::String > & GetIds() const
bool IdsHasBeenSet() const
const Aws::String & GetEventBusName() const
const Aws::String & GetRule() const
RemoveTargetsRequest & WithEventBusName(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
RemoveTargetsRequest & WithEventBusName(const Aws::String &value)
void SetRule(const char *value)
void SetEventBusName(const char *value)
void SetRule(const Aws::String &value)
void SetIds(const Aws::Vector< Aws::String > &value)
RemoveTargetsRequest & AddIds(const char *value)
virtual const char * GetServiceRequestName() const override
void SetEventBusName(const Aws::String &value)
RemoveTargetsRequest & WithIds(Aws::Vector< Aws::String > &&value)
RemoveTargetsRequest & WithRule(const Aws::String &value)
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