7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridge_EXPORTS.h>
9#include <aws/eventbridge/model/RuleState.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace EventBridge {
35 template <
typename NameT = Aws::String>
37 m_nameHasBeenSet =
true;
38 m_name = std::forward<NameT>(value);
40 template <
typename NameT = Aws::String>
42 SetName(std::forward<NameT>(value));
52 template <
typename ArnT = Aws::String>
54 m_arnHasBeenSet =
true;
55 m_arn = std::forward<ArnT>(value);
57 template <
typename ArnT = Aws::String>
59 SetArn(std::forward<ArnT>(value));
71 template <
typename EventPatternT = Aws::String>
73 m_eventPatternHasBeenSet =
true;
74 m_eventPattern = std::forward<EventPatternT>(value);
76 template <
typename EventPatternT = Aws::String>
89 template <
typename ScheduleExpressionT = Aws::String>
91 m_scheduleExpressionHasBeenSet =
true;
92 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
94 template <
typename ScheduleExpressionT = Aws::String>
107 m_stateHasBeenSet =
true;
121 template <
typename DescriptionT = Aws::String>
123 m_descriptionHasBeenSet =
true;
124 m_description = std::forward<DescriptionT>(value);
126 template <
typename DescriptionT = Aws::String>
138 template <
typename RoleArnT = Aws::String>
140 m_roleArnHasBeenSet =
true;
141 m_roleArn = std::forward<RoleArnT>(value);
143 template <
typename RoleArnT = Aws::String>
157 template <
typename ManagedByT = Aws::String>
159 m_managedByHasBeenSet =
true;
160 m_managedBy = std::forward<ManagedByT>(value);
162 template <
typename ManagedByT = Aws::String>
174 template <
typename EventBusNameT = Aws::String>
176 m_eventBusNameHasBeenSet =
true;
177 m_eventBusName = std::forward<EventBusNameT>(value);
179 template <
typename EventBusNameT = Aws::String>
195 template <
typename CreatedByT = Aws::String>
197 m_createdByHasBeenSet =
true;
198 m_createdBy = std::forward<CreatedByT>(value);
200 template <
typename CreatedByT = Aws::String>
210 template <
typename RequestIdT = Aws::String>
212 m_requestIdHasBeenSet =
true;
213 m_requestId = std::forward<RequestIdT>(value);
215 template <
typename RequestIdT = Aws::String>
243 bool m_nameHasBeenSet =
false;
244 bool m_arnHasBeenSet =
false;
245 bool m_eventPatternHasBeenSet =
false;
246 bool m_scheduleExpressionHasBeenSet =
false;
247 bool m_stateHasBeenSet =
false;
248 bool m_descriptionHasBeenSet =
false;
249 bool m_roleArnHasBeenSet =
false;
250 bool m_managedByHasBeenSet =
false;
251 bool m_eventBusNameHasBeenSet =
false;
252 bool m_createdByHasBeenSet =
false;
253 bool m_requestIdHasBeenSet =
false;
void SetManagedBy(ManagedByT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRoleArn() const
void SetEventPattern(EventPatternT &&value)
AWS_EVENTBRIDGE_API DescribeRuleResult()=default
void SetState(RuleState value)
DescribeRuleResult & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
AWS_EVENTBRIDGE_API DescribeRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleResult & WithRoleArn(RoleArnT &&value)
DescribeRuleResult & WithState(RuleState value)
const Aws::String & GetEventPattern() const
DescribeRuleResult & WithEventBusName(EventBusNameT &&value)
RuleState GetState() const
void SetCreatedBy(CreatedByT &&value)
void SetEventBusName(EventBusNameT &&value)
const Aws::String & GetManagedBy() const
DescribeRuleResult & WithManagedBy(ManagedByT &&value)
const Aws::String & GetDescription() const
DescribeRuleResult & WithName(NameT &&value)
DescribeRuleResult & WithDescription(DescriptionT &&value)
void SetRoleArn(RoleArnT &&value)
DescribeRuleResult & WithEventPattern(EventPatternT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetCreatedBy() const
void SetName(NameT &&value)
const Aws::String & GetEventBusName() const
AWS_EVENTBRIDGE_API DescribeRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
DescribeRuleResult & WithScheduleExpression(ScheduleExpressionT &&value)
void SetScheduleExpression(ScheduleExpressionT &&value)
const Aws::String & GetScheduleExpression() const
DescribeRuleResult & WithRequestId(RequestIdT &&value)
DescribeRuleResult & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue