7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ActionSummary.h>
9#include <aws/connect/model/EventSourceName.h>
10#include <aws/connect/model/RuleCapabilityTier.h>
11#include <aws/connect/model/RulePublishStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename RuleIdT = Aws::String>
67 m_ruleIdHasBeenSet =
true;
68 m_ruleId = std::forward<RuleIdT>(value);
70 template <
typename RuleIdT = Aws::String>
83 template <
typename RuleArnT = Aws::String>
85 m_ruleArnHasBeenSet =
true;
86 m_ruleArn = std::forward<RuleArnT>(value);
88 template <
typename RuleArnT = Aws::String>
102 m_eventSourceNameHasBeenSet =
true;
103 m_eventSourceName = value;
118 m_publishStatusHasBeenSet =
true;
119 m_publishStatus = value;
134 template <
typename RuleCapabilityTiersT = Aws::Vector<RuleCapabilityTier>>
136 m_ruleCapabilityTiersHasBeenSet =
true;
137 m_ruleCapabilityTiers = std::forward<RuleCapabilityTiersT>(value);
139 template <
typename RuleCapabilityTiersT = Aws::Vector<RuleCapabilityTier>>
145 m_ruleCapabilityTiersHasBeenSet =
true;
146 m_ruleCapabilityTiers.push_back(value);
157 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
159 m_actionSummariesHasBeenSet =
true;
160 m_actionSummaries = std::forward<ActionSummariesT>(value);
162 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
167 template <
typename ActionSummariesT = ActionSummary>
169 m_actionSummariesHasBeenSet =
true;
170 m_actionSummaries.emplace_back(std::forward<ActionSummariesT>(value));
181 template <
typename CreatedTimeT = Aws::Utils::DateTime>
183 m_createdTimeHasBeenSet =
true;
184 m_createdTime = std::forward<CreatedTimeT>(value);
186 template <
typename CreatedTimeT = Aws::Utils::DateTime>
199 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
201 m_lastUpdatedTimeHasBeenSet =
true;
202 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
204 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
228 bool m_nameHasBeenSet =
false;
229 bool m_ruleIdHasBeenSet =
false;
230 bool m_ruleArnHasBeenSet =
false;
231 bool m_eventSourceNameHasBeenSet =
false;
232 bool m_publishStatusHasBeenSet =
false;
233 bool m_ruleCapabilityTiersHasBeenSet =
false;
234 bool m_actionSummariesHasBeenSet =
false;
235 bool m_createdTimeHasBeenSet =
false;
236 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
RuleSummary & WithRuleCapabilityTiers(RuleCapabilityTiersT &&value)
RulePublishStatus GetPublishStatus() const
bool RuleCapabilityTiersHasBeenSet() const
const Aws::Vector< RuleCapabilityTier > & GetRuleCapabilityTiers() 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)
RuleSummary & AddRuleCapabilityTiers(RuleCapabilityTier 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)
void SetRuleCapabilityTiers(RuleCapabilityTiersT &&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