7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/eventbridge/model/Target.h>
47 inline void SetRule(
const char* value) { m_ruleHasBeenSet =
true; m_rule.assign(value); }
62 inline void SetEventBusName(
const char* value) { m_eventBusNameHasBeenSet =
true; m_eventBusName.assign(value); }
84 bool m_ruleHasBeenSet =
false;
87 bool m_eventBusNameHasBeenSet =
false;
90 bool m_targetsHasBeenSet =
false;
void SetRule(const Aws::String &value)
void SetEventBusName(const char *value)
bool EventBusNameHasBeenSet() const
void SetEventBusName(Aws::String &&value)
PutTargetsRequest & WithRule(const Aws::String &value)
void SetEventBusName(const Aws::String &value)
PutTargetsRequest & WithEventBusName(const Aws::String &value)
void SetTargets(Aws::Vector< Target > &&value)
PutTargetsRequest & WithRule(const char *value)
bool RuleHasBeenSet() const
PutTargetsRequest & WithTargets(Aws::Vector< Target > &&value)
PutTargetsRequest & WithTargets(const Aws::Vector< Target > &value)
PutTargetsRequest & WithRule(Aws::String &&value)
const Aws::String & GetRule() const
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutTargetsRequest & AddTargets(Target &&value)
PutTargetsRequest & WithEventBusName(Aws::String &&value)
void SetTargets(const Aws::Vector< Target > &value)
PutTargetsRequest & WithEventBusName(const char *value)
bool TargetsHasBeenSet() const
const Aws::Vector< Target > & GetTargets() const
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
const Aws::String & GetEventBusName() const
PutTargetsRequest & AddTargets(const Target &value)
void SetRule(Aws::String &&value)
AWS_EVENTBRIDGE_API PutTargetsRequest()
virtual const char * GetServiceRequestName() const override
void SetRule(const char *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