7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/RuleState.h>
36 AWS_EVENTBRIDGE_API
Rule();
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
64 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.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); }
144 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
163 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
179 inline void SetManagedBy(
const char* value) { m_managedByHasBeenSet =
true; m_managedBy.assign(value); }
194 inline void SetEventBusName(
const char* value) { m_eventBusNameHasBeenSet =
true; m_eventBusName.assign(value); }
202 bool m_nameHasBeenSet =
false;
205 bool m_arnHasBeenSet =
false;
208 bool m_eventPatternHasBeenSet =
false;
211 bool m_stateHasBeenSet =
false;
214 bool m_descriptionHasBeenSet =
false;
217 bool m_scheduleExpressionHasBeenSet =
false;
220 bool m_roleArnHasBeenSet =
false;
223 bool m_managedByHasBeenSet =
false;
226 bool m_eventBusNameHasBeenSet =
false;
bool NameHasBeenSet() const
const RuleState & GetState() const
bool ArnHasBeenSet() const
bool EventBusNameHasBeenSet() const
Rule & WithDescription(const Aws::String &value)
Rule & WithArn(const char *value)
void SetRoleArn(const Aws::String &value)
Rule & WithManagedBy(const char *value)
Rule & WithDescription(const char *value)
Rule & WithState(RuleState &&value)
void SetScheduleExpression(const char *value)
Rule & WithArn(Aws::String &&value)
void SetRoleArn(const char *value)
void SetEventPattern(Aws::String &&value)
Rule & WithScheduleExpression(const char *value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetManagedBy() const
void SetEventPattern(const Aws::String &value)
Rule & WithEventPattern(const char *value)
Rule & WithManagedBy(const Aws::String &value)
Rule & WithArn(const Aws::String &value)
Rule & WithEventBusName(const Aws::String &value)
void SetName(Aws::String &&value)
void SetEventBusName(const char *value)
void SetArn(Aws::String &&value)
void SetEventPattern(const char *value)
Rule & WithEventBusName(const char *value)
bool DescriptionHasBeenSet() const
Rule & WithScheduleExpression(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetManagedBy(const char *value)
void SetName(const char *value)
const Aws::String & GetDescription() const
void SetManagedBy(Aws::String &&value)
void SetScheduleExpression(Aws::String &&value)
Rule & WithScheduleExpression(Aws::String &&value)
bool RoleArnHasBeenSet() const
Rule & WithRoleArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
const Aws::String & GetScheduleExpression() const
Rule & WithState(const RuleState &value)
bool ManagedByHasBeenSet() const
Rule & WithRoleArn(const Aws::String &value)
void SetArn(const char *value)
AWS_EVENTBRIDGE_API Rule()
Rule & WithEventPattern(Aws::String &&value)
bool StateHasBeenSet() const
AWS_EVENTBRIDGE_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
Rule & WithRoleArn(const char *value)
void SetState(RuleState &&value)
Rule & WithDescription(Aws::String &&value)
void SetEventBusName(Aws::String &&value)
Rule & WithEventPattern(const Aws::String &value)
void SetArn(const Aws::String &value)
Rule & WithName(Aws::String &&value)
bool ScheduleExpressionHasBeenSet() const
const Aws::String & GetArn() const
const Aws::String & GetEventBusName() const
void SetManagedBy(const Aws::String &value)
Rule & WithName(const char *value)
void SetEventBusName(const Aws::String &value)
bool EventPatternHasBeenSet() const
const Aws::String & GetName() const
Rule & WithName(const Aws::String &value)
void SetState(const RuleState &value)
void SetName(const Aws::String &value)
const Aws::String & GetEventPattern() const
AWS_EVENTBRIDGE_API Rule(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
Rule & WithEventBusName(Aws::String &&value)
Rule & WithManagedBy(Aws::String &&value)
void SetScheduleExpression(const Aws::String &value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue