7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/CloudWatchEvents_EXPORTS.h>
10#include <aws/events/model/RuleState.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudWatchEvents {
36 template <
typename NameT = Aws::String>
38 m_nameHasBeenSet =
true;
39 m_name = std::forward<NameT>(value);
41 template <
typename NameT = Aws::String>
43 SetName(std::forward<NameT>(value));
53 template <
typename ArnT = Aws::String>
55 m_arnHasBeenSet =
true;
56 m_arn = std::forward<ArnT>(value);
58 template <
typename ArnT = Aws::String>
60 SetArn(std::forward<ArnT>(value));
72 template <
typename EventPatternT = Aws::String>
74 m_eventPatternHasBeenSet =
true;
75 m_eventPattern = std::forward<EventPatternT>(value);
77 template <
typename EventPatternT = Aws::String>
90 template <
typename ScheduleExpressionT = Aws::String>
92 m_scheduleExpressionHasBeenSet =
true;
93 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
95 template <
typename ScheduleExpressionT = Aws::String>
108 m_stateHasBeenSet =
true;
122 template <
typename DescriptionT = Aws::String>
124 m_descriptionHasBeenSet =
true;
125 m_description = std::forward<DescriptionT>(value);
127 template <
typename DescriptionT = Aws::String>
139 template <
typename RoleArnT = Aws::String>
141 m_roleArnHasBeenSet =
true;
142 m_roleArn = std::forward<RoleArnT>(value);
144 template <
typename RoleArnT = Aws::String>
158 template <
typename ManagedByT = Aws::String>
160 m_managedByHasBeenSet =
true;
161 m_managedBy = std::forward<ManagedByT>(value);
163 template <
typename ManagedByT = Aws::String>
175 template <
typename EventBusNameT = Aws::String>
177 m_eventBusNameHasBeenSet =
true;
178 m_eventBusName = std::forward<EventBusNameT>(value);
180 template <
typename EventBusNameT = Aws::String>
196 template <
typename CreatedByT = Aws::String>
198 m_createdByHasBeenSet =
true;
199 m_createdBy = std::forward<CreatedByT>(value);
201 template <
typename CreatedByT = Aws::String>
211 template <
typename RequestIdT = Aws::String>
213 m_requestIdHasBeenSet =
true;
214 m_requestId = std::forward<RequestIdT>(value);
216 template <
typename RequestIdT = Aws::String>
247 bool m_nameHasBeenSet =
false;
248 bool m_arnHasBeenSet =
false;
249 bool m_eventPatternHasBeenSet =
false;
250 bool m_scheduleExpressionHasBeenSet =
false;
251 bool m_stateHasBeenSet =
false;
252 bool m_descriptionHasBeenSet =
false;
253 bool m_roleArnHasBeenSet =
false;
254 bool m_managedByHasBeenSet =
false;
255 bool m_eventBusNameHasBeenSet =
false;
256 bool m_createdByHasBeenSet =
false;
257 bool m_requestIdHasBeenSet =
false;
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetRequestId() const
DescribeRuleResult & WithName(NameT &&value)
DescribeRuleResult & WithEventPattern(EventPatternT &&value)
const Aws::String & GetRoleArn() const
const Aws::String & GetScheduleExpression() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetEventBusName(EventBusNameT &&value)
const Aws::String & GetCreatedBy() const
void SetManagedBy(ManagedByT &&value)
void SetScheduleExpression(ScheduleExpressionT &&value)
void SetName(NameT &&value)
DescribeRuleResult & WithCreatedBy(CreatedByT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
RuleState GetState() const
const Aws::String & GetManagedBy() const
const Aws::String & GetEventBusName() const
AWS_CLOUDWATCHEVENTS_API DescribeRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleResult & WithScheduleExpression(ScheduleExpressionT &&value)
DescribeRuleResult & WithState(RuleState value)
const Aws::String & GetEventPattern() const
void SetArn(ArnT &&value)
AWS_CLOUDWATCHEVENTS_API DescribeRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleResult & WithRoleArn(RoleArnT &&value)
DescribeRuleResult & WithManagedBy(ManagedByT &&value)
DescribeRuleResult & WithEventBusName(EventBusNameT &&value)
AWS_CLOUDWATCHEVENTS_API DescribeRuleResult()=default
void SetDescription(DescriptionT &&value)
DescribeRuleResult & WithRequestId(RequestIdT &&value)
DescribeRuleResult & WithDescription(DescriptionT &&value)
DescribeRuleResult & WithArn(ArnT &&value)
void SetEventPattern(EventPatternT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetState(RuleState value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue