7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ActionSummary.h>
9#include <aws/connect/model/PreEvaluationFilters.h>
10#include <aws/connect/model/RuleCapabilityTier.h>
11#include <aws/connect/model/RulePublishStatus.h>
12#include <aws/connect/model/RuleTriggerEventSource.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
67 template <
typename RuleIdT = Aws::String>
69 m_ruleIdHasBeenSet =
true;
70 m_ruleId = std::forward<RuleIdT>(value);
72 template <
typename RuleIdT = Aws::String>
85 template <
typename RuleArnT = Aws::String>
87 m_ruleArnHasBeenSet =
true;
88 m_ruleArn = std::forward<RuleArnT>(value);
90 template <
typename RuleArnT = Aws::String>
103 template <
typename TriggerEventSourceT = RuleTriggerEventSource>
105 m_triggerEventSourceHasBeenSet =
true;
106 m_triggerEventSource = std::forward<TriggerEventSourceT>(value);
108 template <
typename TriggerEventSourceT = RuleTriggerEventSource>
121 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
123 m_actionSummariesHasBeenSet =
true;
124 m_actionSummaries = std::forward<ActionSummariesT>(value);
126 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
131 template <
typename ActionSummariesT = ActionSummary>
133 m_actionSummariesHasBeenSet =
true;
134 m_actionSummaries.emplace_back(std::forward<ActionSummariesT>(value));
146 template <
typename RuleCapabilityTiersT = Aws::Vector<RuleCapabilityTier>>
148 m_ruleCapabilityTiersHasBeenSet =
true;
149 m_ruleCapabilityTiers = std::forward<RuleCapabilityTiersT>(value);
151 template <
typename RuleCapabilityTiersT = Aws::Vector<RuleCapabilityTier>>
157 m_ruleCapabilityTiersHasBeenSet =
true;
158 m_ruleCapabilityTiers.push_back(value);
170 m_publishStatusHasBeenSet =
true;
171 m_publishStatus = value;
189 template <
typename PreEvaluationFiltersT = PreEvaluationFilters>
191 m_preEvaluationFiltersHasBeenSet =
true;
192 m_preEvaluationFilters = std::forward<PreEvaluationFiltersT>(value);
194 template <
typename PreEvaluationFiltersT = PreEvaluationFilters>
207 template <
typename CreatedTimeT = Aws::Utils::DateTime>
209 m_createdTimeHasBeenSet =
true;
210 m_createdTime = std::forward<CreatedTimeT>(value);
212 template <
typename CreatedTimeT = Aws::Utils::DateTime>
225 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
227 m_lastUpdatedTimeHasBeenSet =
true;
228 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
230 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
243 template <
typename LastUpdatedByT = Aws::String>
245 m_lastUpdatedByHasBeenSet =
true;
246 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
248 template <
typename LastUpdatedByT = Aws::String>
262 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
264 m_tagsHasBeenSet =
true;
265 m_tags = std::forward<TagsT>(value);
267 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 SetTags(std::forward<TagsT>(value));
272 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
274 m_tagsHasBeenSet =
true;
275 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
294 PreEvaluationFilters m_preEvaluationFilters;
303 bool m_nameHasBeenSet =
false;
304 bool m_ruleIdHasBeenSet =
false;
305 bool m_ruleArnHasBeenSet =
false;
306 bool m_triggerEventSourceHasBeenSet =
false;
307 bool m_actionSummariesHasBeenSet =
false;
308 bool m_ruleCapabilityTiersHasBeenSet =
false;
309 bool m_publishStatusHasBeenSet =
false;
310 bool m_preEvaluationFiltersHasBeenSet =
false;
311 bool m_createdTimeHasBeenSet =
false;
312 bool m_lastUpdatedTimeHasBeenSet =
false;
313 bool m_lastUpdatedByHasBeenSet =
false;
314 bool m_tagsHasBeenSet =
false;
RuleSearchSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
RuleSearchSummary & WithRuleArn(RuleArnT &&value)
bool LastUpdatedByHasBeenSet() const
RuleSearchSummary & WithRuleCapabilityTiers(RuleCapabilityTiersT &&value)
RuleSearchSummary & WithCreatedTime(CreatedTimeT &&value)
const PreEvaluationFilters & GetPreEvaluationFilters() const
RuleSearchSummary & WithPublishStatus(RulePublishStatus value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API RuleSearchSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
void SetRuleId(RuleIdT &&value)
RuleSearchSummary & WithPreEvaluationFilters(PreEvaluationFiltersT &&value)
bool TriggerEventSourceHasBeenSet() const
void SetTriggerEventSource(TriggerEventSourceT &&value)
bool RuleIdHasBeenSet() const
bool PreEvaluationFiltersHasBeenSet() const
void SetActionSummaries(ActionSummariesT &&value)
RuleSearchSummary & WithActionSummaries(ActionSummariesT &&value)
bool RuleCapabilityTiersHasBeenSet() const
RuleSearchSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const RuleTriggerEventSource & GetTriggerEventSource() const
RuleSearchSummary & WithRuleId(RuleIdT &&value)
bool ActionSummariesHasBeenSet() const
void SetPublishStatus(RulePublishStatus value)
const Aws::String & GetName() const
const Aws::Vector< RuleCapabilityTier > & GetRuleCapabilityTiers() const
RuleSearchSummary & WithTags(TagsT &&value)
AWS_CONNECT_API RuleSearchSummary()=default
RuleSearchSummary & AddRuleCapabilityTiers(RuleCapabilityTier value)
void SetPreEvaluationFilters(PreEvaluationFiltersT &&value)
const Aws::String & GetRuleArn() const
RuleSearchSummary & WithLastUpdatedBy(LastUpdatedByT &&value)
RuleSearchSummary & WithName(NameT &&value)
bool PublishStatusHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::Vector< ActionSummary > & GetActionSummaries() const
RuleSearchSummary & WithTriggerEventSource(TriggerEventSourceT &&value)
bool TagsHasBeenSet() const
void SetName(NameT &&value)
bool RuleArnHasBeenSet() const
const Aws::String & GetLastUpdatedBy() const
RulePublishStatus GetPublishStatus() const
AWS_CONNECT_API RuleSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleCapabilityTiers(RuleCapabilityTiersT &&value)
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCreatedTime(CreatedTimeT &&value)
bool CreatedTimeHasBeenSet() const
void SetRuleArn(RuleArnT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
const Aws::String & GetRuleId() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
RuleSearchSummary & AddActionSummaries(ActionSummariesT &&value)
bool LastUpdatedTimeHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue