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/events/model/RuleState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/events/model/Tag.h>
17namespace CloudWatchEvents
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); }
79 inline void SetEventPattern(
const char* value) { m_eventPatternHasBeenSet =
true; m_eventPattern.assign(value); }
92 inline void SetState(
RuleState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
105 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
124 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
153 inline void SetEventBusName(
const char* value) { m_eventBusNameHasBeenSet =
true; m_eventBusName.assign(value); }
161 bool m_nameHasBeenSet =
false;
164 bool m_scheduleExpressionHasBeenSet =
false;
167 bool m_eventPatternHasBeenSet =
false;
170 bool m_stateHasBeenSet =
false;
173 bool m_descriptionHasBeenSet =
false;
176 bool m_roleArnHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
182 bool m_eventBusNameHasBeenSet =
false;
bool RoleArnHasBeenSet() const
PutRuleRequest & WithTags(const Aws::Vector< Tag > &value)
PutRuleRequest & WithRoleArn(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
PutRuleRequest & WithEventBusName(const char *value)
void SetEventPattern(Aws::String &&value)
PutRuleRequest & WithScheduleExpression(const char *value)
PutRuleRequest & WithEventBusName(const Aws::String &value)
void SetScheduleExpression(Aws::String &&value)
bool StateHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EventBusNameHasBeenSet() const
PutRuleRequest & WithState(RuleState &&value)
const Aws::String & GetRoleArn() const
PutRuleRequest & WithDescription(Aws::String &&value)
void SetEventBusName(Aws::String &&value)
bool ScheduleExpressionHasBeenSet() const
bool DescriptionHasBeenSet() const
PutRuleRequest & WithEventBusName(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API PutRuleRequest()
const Aws::String & GetDescription() const
void SetScheduleExpression(const char *value)
PutRuleRequest & WithDescription(const Aws::String &value)
const Aws::String & GetScheduleExpression() const
const Aws::String & GetEventPattern() const
PutRuleRequest & AddTags(Tag &&value)
virtual const char * GetServiceRequestName() const override
PutRuleRequest & AddTags(const Tag &value)
bool TagsHasBeenSet() const
void SetDescription(const char *value)
void SetRoleArn(const char *value)
void SetName(Aws::String &&value)
const RuleState & GetState() const
void SetState(const RuleState &value)
PutRuleRequest & WithEventPattern(Aws::String &&value)
void SetState(RuleState &&value)
void SetName(const Aws::String &value)
bool EventPatternHasBeenSet() const
const Aws::String & GetName() const
PutRuleRequest & WithTags(Aws::Vector< Tag > &&value)
void SetEventPattern(const char *value)
PutRuleRequest & WithScheduleExpression(const Aws::String &value)
PutRuleRequest & WithName(Aws::String &&value)
const Aws::String & GetEventBusName() const
PutRuleRequest & WithScheduleExpression(Aws::String &&value)
void SetEventBusName(const char *value)
bool NameHasBeenSet() const
void SetScheduleExpression(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
PutRuleRequest & WithName(const Aws::String &value)
PutRuleRequest & WithEventPattern(const Aws::String &value)
PutRuleRequest & WithState(const RuleState &value)
PutRuleRequest & WithDescription(const char *value)
PutRuleRequest & WithRoleArn(const char *value)
void SetEventPattern(const Aws::String &value)
PutRuleRequest & WithName(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
void SetDescription(const Aws::String &value)
void SetEventBusName(const Aws::String &value)
void SetName(const char *value)
PutRuleRequest & WithEventPattern(const char *value)
void SetDescription(Aws::String &&value)
PutRuleRequest & WithRoleArn(const Aws::String &value)
void SetRoleArn(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