7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/EventSourceName.h>
10#include <aws/connect/model/RulePublishStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/connect/model/ActionSummary.h>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
64 template<
typename RuleIdT = Aws::String>
65 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
66 template<
typename RuleIdT = Aws::String>
76 template<
typename RuleArnT = Aws::String>
77 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet =
true; m_ruleArn = std::forward<RuleArnT>(value); }
78 template<
typename RuleArnT = Aws::String>
108 template<
typename ActionSummariesT = Aws::Vector<ActionSummary>>
109 void SetActionSummaries(ActionSummariesT&& value) { m_actionSummariesHasBeenSet =
true; m_actionSummaries = std::forward<ActionSummariesT>(value); }
110 template<
typename ActionSummariesT = Aws::Vector<ActionSummary>>
112 template<
typename ActionSummariesT = ActionSummary>
113 RuleSummary&
AddActionSummaries(ActionSummariesT&& value) { m_actionSummariesHasBeenSet =
true; m_actionSummaries.emplace_back(std::forward<ActionSummariesT>(value));
return *
this; }
122 template<
typename CreatedTimeT = Aws::Utils::DateTime>
123 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
124 template<
typename CreatedTimeT = Aws::Utils::DateTime>
134 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
135 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
136 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
142 bool m_nameHasBeenSet =
false;
145 bool m_ruleIdHasBeenSet =
false;
148 bool m_ruleArnHasBeenSet =
false;
151 bool m_eventSourceNameHasBeenSet =
false;
154 bool m_publishStatusHasBeenSet =
false;
157 bool m_actionSummariesHasBeenSet =
false;
160 bool m_createdTimeHasBeenSet =
false;
163 bool m_lastUpdatedTimeHasBeenSet =
false;
void SetCreatedTime(CreatedTimeT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API RuleSummary()=default
AWS_CONNECT_API RuleSummary(Aws::Utils::Json::JsonView jsonValue)
EventSourceName GetEventSourceName() const
bool NameHasBeenSet() const
void SetEventSourceName(EventSourceName value)
bool ActionSummariesHasBeenSet() const
void SetPublishStatus(RulePublishStatus value)
bool PublishStatusHasBeenSet() const
RulePublishStatus GetPublishStatus() const
RuleSummary & WithRuleArn(RuleArnT &&value)
bool RuleIdHasBeenSet() const
bool EventSourceNameHasBeenSet() const
const Aws::String & GetRuleArn() const
RuleSummary & WithRuleId(RuleIdT &&value)
void SetRuleArn(RuleArnT &&value)
RuleSummary & WithName(NameT &&value)
bool RuleArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetName(NameT &&value)
const Aws::String & GetName() const
RuleSummary & WithPublishStatus(RulePublishStatus value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
RuleSummary & WithEventSourceName(EventSourceName value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool CreatedTimeHasBeenSet() const
RuleSummary & AddActionSummaries(ActionSummariesT &&value)
RuleSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetActionSummaries(ActionSummariesT &&value)
bool LastUpdatedTimeHasBeenSet() const
RuleSummary & WithActionSummaries(ActionSummariesT &&value)
void SetRuleId(RuleIdT &&value)
AWS_CONNECT_API RuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ActionSummary > & GetActionSummaries() const
const Aws::String & GetRuleId() const
RuleSummary & WithCreatedTime(CreatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue