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/eventbridge/model/RuleState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/eventbridge/model/Tag.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
80 inline void SetEventPattern(
const char* value) { m_eventPatternHasBeenSet =
true; m_eventPattern.assign(value); }
114 inline void SetState(
RuleState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
127 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
146 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
175 inline void SetEventBusName(
const char* value) { m_eventBusNameHasBeenSet =
true; m_eventBusName.assign(value); }
183 bool m_nameHasBeenSet =
false;
186 bool m_scheduleExpressionHasBeenSet =
false;
189 bool m_eventPatternHasBeenSet =
false;
192 bool m_stateHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
198 bool m_roleArnHasBeenSet =
false;
201 bool m_tagsHasBeenSet =
false;
204 bool m_eventBusNameHasBeenSet =
false;
void SetScheduleExpression(Aws::String &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetName() const
PutRuleRequest & AddTags(const Tag &value)
const Aws::String & GetEventPattern() const
AWS_EVENTBRIDGE_API PutRuleRequest()
PutRuleRequest & WithEventPattern(const Aws::String &value)
PutRuleRequest & WithScheduleExpression(const char *value)
void SetEventPattern(Aws::String &&value)
void SetRoleArn(const char *value)
void SetScheduleExpression(const char *value)
PutRuleRequest & WithDescription(const char *value)
PutRuleRequest & WithTags(const Aws::Vector< Tag > &value)
void SetEventBusName(Aws::String &&value)
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
PutRuleRequest & AddTags(Tag &&value)
PutRuleRequest & WithEventPattern(const char *value)
PutRuleRequest & WithEventPattern(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
bool StateHasBeenSet() const
const Aws::String & GetRoleArn() const
PutRuleRequest & WithEventBusName(const char *value)
void SetName(const char *value)
virtual const char * GetServiceRequestName() const override
bool EventBusNameHasBeenSet() const
PutRuleRequest & WithScheduleExpression(const Aws::String &value)
void SetState(RuleState &&value)
const Aws::String & GetScheduleExpression() const
void SetName(const Aws::String &value)
void SetEventPattern(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetName(Aws::String &&value)
PutRuleRequest & WithName(const char *value)
void SetEventPattern(const char *value)
void SetEventBusName(const char *value)
PutRuleRequest & WithDescription(Aws::String &&value)
const Aws::String & GetEventBusName() const
void SetTags(Aws::Vector< Tag > &&value)
PutRuleRequest & WithState(const RuleState &value)
const RuleState & GetState() const
bool RoleArnHasBeenSet() const
PutRuleRequest & WithRoleArn(Aws::String &&value)
void SetDescription(const char *value)
PutRuleRequest & WithScheduleExpression(Aws::String &&value)
PutRuleRequest & WithName(const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::Vector< Tag > & GetTags() const
PutRuleRequest & WithEventBusName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
PutRuleRequest & WithDescription(const Aws::String &value)
void SetState(const RuleState &value)
bool TagsHasBeenSet() const
PutRuleRequest & WithRoleArn(const Aws::String &value)
bool ScheduleExpressionHasBeenSet() const
PutRuleRequest & WithEventBusName(Aws::String &&value)
void SetScheduleExpression(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
bool EventPatternHasBeenSet() const
PutRuleRequest & WithTags(Aws::Vector< Tag > &&value)
PutRuleRequest & WithRoleArn(const char *value)
PutRuleRequest & WithState(RuleState &&value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEventBusName(const Aws::String &value)
bool NameHasBeenSet() const
PutRuleRequest & WithName(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