7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ActionSummary.h>
9#include <aws/connect/model/RuleCapabilityTier.h>
10#include <aws/connect/model/RulePublishStatus.h>
11#include <aws/connect/model/RuleTriggerEventSource.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename NameT = Aws::String>
50 m_nameHasBeenSet =
true;
51 m_name = std::forward<NameT>(value);
53 template <
typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
66 template <
typename RuleIdT = Aws::String>
68 m_ruleIdHasBeenSet =
true;
69 m_ruleId = std::forward<RuleIdT>(value);
71 template <
typename RuleIdT = Aws::String>
84 template <
typename RuleArnT = Aws::String>
86 m_ruleArnHasBeenSet =
true;
87 m_ruleArn = std::forward<RuleArnT>(value);
89 template <
typename RuleArnT = Aws::String>
102 template <
typename TriggerEventSourceT = RuleTriggerEventSource>
104 m_triggerEventSourceHasBeenSet =
true;
105 m_triggerEventSource = std::forward<TriggerEventSourceT>(value);
107 template <
typename TriggerEventSourceT = RuleTriggerEventSource>
120 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
122 m_actionSummariesHasBeenSet =
true;
123 m_actionSummaries = std::forward<ActionSummariesT>(value);
125 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
130 template <
typename ActionSummariesT = ActionSummary>
132 m_actionSummariesHasBeenSet =
true;
133 m_actionSummaries.emplace_back(std::forward<ActionSummariesT>(value));
145 template <
typename RuleCapabilityTiersT = Aws::Vector<RuleCapabilityTier>>
147 m_ruleCapabilityTiersHasBeenSet =
true;
148 m_ruleCapabilityTiers = std::forward<RuleCapabilityTiersT>(value);
150 template <
typename RuleCapabilityTiersT = Aws::Vector<RuleCapabilityTier>>
156 m_ruleCapabilityTiersHasBeenSet =
true;
157 m_ruleCapabilityTiers.push_back(value);
169 m_publishStatusHasBeenSet =
true;
170 m_publishStatus = value;
184 template <
typename CreatedTimeT = Aws::Utils::DateTime>
186 m_createdTimeHasBeenSet =
true;
187 m_createdTime = std::forward<CreatedTimeT>(value);
189 template <
typename CreatedTimeT = Aws::Utils::DateTime>
202 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
204 m_lastUpdatedTimeHasBeenSet =
true;
205 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
207 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
220 template <
typename LastUpdatedByT = Aws::String>
222 m_lastUpdatedByHasBeenSet =
true;
223 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
225 template <
typename LastUpdatedByT = Aws::String>
239 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
241 m_tagsHasBeenSet =
true;
242 m_tags = std::forward<TagsT>(value);
244 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
246 SetTags(std::forward<TagsT>(value));
249 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
251 m_tagsHasBeenSet =
true;
252 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
278 bool m_nameHasBeenSet =
false;
279 bool m_ruleIdHasBeenSet =
false;
280 bool m_ruleArnHasBeenSet =
false;
281 bool m_triggerEventSourceHasBeenSet =
false;
282 bool m_actionSummariesHasBeenSet =
false;
283 bool m_ruleCapabilityTiersHasBeenSet =
false;
284 bool m_publishStatusHasBeenSet =
false;
285 bool m_createdTimeHasBeenSet =
false;
286 bool m_lastUpdatedTimeHasBeenSet =
false;
287 bool m_lastUpdatedByHasBeenSet =
false;
288 bool m_tagsHasBeenSet =
false;
RuleSearchSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
RuleSearchSummary & WithRuleArn(RuleArnT &&value)
bool LastUpdatedByHasBeenSet() const
RuleSearchSummary & WithRuleCapabilityTiers(RuleCapabilityTiersT &&value)
RuleSearchSummary & WithCreatedTime(CreatedTimeT &&value)
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)
bool TriggerEventSourceHasBeenSet() const
void SetTriggerEventSource(TriggerEventSourceT &&value)
bool RuleIdHasBeenSet() 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)
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