7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/RuleTriggerEventSource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/RulePublishStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/connect/model/RuleAction.h>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
82 inline void SetRuleArn(
const char* value) { m_ruleArnHasBeenSet =
true; m_ruleArn.assign(value); }
108 inline void SetFunction(
const char* value) { m_functionHasBeenSet =
true; m_function.assign(value); }
172 inline void SetLastUpdatedBy(
const char* value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy.assign(value); }
193 inline Rule&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
194 inline Rule&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
195 inline Rule&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
200 bool m_nameHasBeenSet =
false;
203 bool m_ruleIdHasBeenSet =
false;
206 bool m_ruleArnHasBeenSet =
false;
209 bool m_triggerEventSourceHasBeenSet =
false;
212 bool m_functionHasBeenSet =
false;
215 bool m_actionsHasBeenSet =
false;
218 bool m_publishStatusHasBeenSet =
false;
221 bool m_createdTimeHasBeenSet =
false;
224 bool m_lastUpdatedTimeHasBeenSet =
false;
227 bool m_lastUpdatedByHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
Rule & WithLastUpdatedBy(const char *value)
const Aws::Vector< RuleAction > & GetActions() const
bool PublishStatusHasBeenSet() const
void SetLastUpdatedBy(const Aws::String &value)
Rule & WithRuleArn(const Aws::String &value)
bool TriggerEventSourceHasBeenSet() const
bool CreatedTimeHasBeenSet() const
const Aws::String & GetFunction() const
Rule & WithName(const Aws::String &value)
bool FunctionHasBeenSet() const
Rule & AddTags(Aws::String &&key, const char *value)
Rule & WithCreatedTime(Aws::Utils::DateTime &&value)
const RuleTriggerEventSource & GetTriggerEventSource() const
void SetFunction(const Aws::String &value)
void SetRuleArn(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetRuleArn(Aws::String &&value)
void SetName(Aws::String &&value)
Rule & WithRuleId(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
Rule & WithTriggerEventSource(RuleTriggerEventSource &&value)
Rule & AddTags(Aws::String &&key, Aws::String &&value)
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
Rule & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Rule & WithPublishStatus(const RulePublishStatus &value)
Rule & WithFunction(const Aws::String &value)
void SetActions(const Aws::Vector< RuleAction > &value)
AWS_CONNECT_API Rule(Aws::Utils::Json::JsonView jsonValue)
Rule & WithRuleArn(Aws::String &&value)
Rule & WithLastUpdatedBy(Aws::String &&value)
void SetRuleId(const Aws::String &value)
Rule & WithRuleArn(const char *value)
bool LastUpdatedTimeHasBeenSet() const
bool LastUpdatedByHasBeenSet() const
Rule & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetLastUpdatedBy() const
const Aws::String & GetRuleArn() const
Rule & WithActions(const Aws::Vector< RuleAction > &value)
void SetName(const Aws::String &value)
Rule & AddTags(const char *key, Aws::String &&value)
Rule & WithActions(Aws::Vector< RuleAction > &&value)
Rule & WithPublishStatus(RulePublishStatus &&value)
Rule & WithCreatedTime(const Aws::Utils::DateTime &value)
Rule & WithLastUpdatedBy(const Aws::String &value)
void SetActions(Aws::Vector< RuleAction > &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Rule & WithFunction(const char *value)
void SetRuleId(Aws::String &&value)
Rule & WithTriggerEventSource(const RuleTriggerEventSource &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetFunction(Aws::String &&value)
Rule & AddActions(RuleAction &&value)
Rule & AddActions(const RuleAction &value)
Rule & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(const char *value)
void SetLastUpdatedBy(const char *value)
Rule & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTriggerEventSource(const RuleTriggerEventSource &value)
Rule & AddTags(const char *key, const char *value)
Rule & WithRuleId(const Aws::String &value)
Rule & WithName(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetFunction(const char *value)
Rule & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetRuleId(const char *value)
Rule & AddTags(Aws::String &&key, const Aws::String &value)
void SetPublishStatus(const RulePublishStatus &value)
Rule & AddTags(const Aws::String &key, const Aws::String &value)
bool ActionsHasBeenSet() const
Rule & WithRuleId(Aws::String &&value)
AWS_CONNECT_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleArn(const Aws::String &value)
bool RuleIdHasBeenSet() const
const Aws::String & GetRuleId() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Rule & WithName(Aws::String &&value)
void SetTriggerEventSource(RuleTriggerEventSource &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetPublishStatus(RulePublishStatus &&value)
bool RuleArnHasBeenSet() const
const Aws::String & GetName() const
const RulePublishStatus & GetPublishStatus() const
Rule & WithFunction(Aws::String &&value)
void SetLastUpdatedBy(Aws::String &&value)
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