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>
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); }
152 bool m_nameHasBeenSet =
false;
155 bool m_ruleIdHasBeenSet =
false;
158 bool m_ruleArnHasBeenSet =
false;
161 bool m_eventSourceNameHasBeenSet =
false;
164 bool m_publishStatusHasBeenSet =
false;
167 bool m_actionSummariesHasBeenSet =
false;
170 bool m_createdTimeHasBeenSet =
false;
173 bool m_lastUpdatedTimeHasBeenSet =
false;
void SetRuleId(const Aws::String &value)
void SetRuleId(Aws::String &&value)
void SetRuleId(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetRuleArn(Aws::String &&value)
AWS_CONNECT_API RuleSummary(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
RuleSummary & WithRuleId(const Aws::String &value)
RuleSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
bool ActionSummariesHasBeenSet() const
void SetName(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
RuleSummary & WithRuleArn(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
bool PublishStatusHasBeenSet() const
RuleSummary & AddActionSummaries(ActionSummary &&value)
RuleSummary & WithPublishStatus(RulePublishStatus &&value)
RuleSummary & WithEventSourceName(const EventSourceName &value)
void SetPublishStatus(const RulePublishStatus &value)
RuleSummary & WithEventSourceName(EventSourceName &&value)
bool RuleIdHasBeenSet() const
bool EventSourceNameHasBeenSet() const
const Aws::String & GetRuleArn() const
RuleSummary & WithActionSummaries(Aws::Vector< ActionSummary > &&value)
void SetEventSourceName(const EventSourceName &value)
RuleSummary & WithActionSummaries(const Aws::Vector< ActionSummary > &value)
RuleSummary & AddActionSummaries(const ActionSummary &value)
RuleSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetEventSourceName(EventSourceName &&value)
void SetRuleArn(const Aws::String &value)
RuleSummary & WithRuleArn(const char *value)
RuleSummary & WithName(Aws::String &&value)
bool RuleArnHasBeenSet() const
RuleSummary & WithRuleArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
RuleSummary & WithName(const char *value)
const Aws::String & GetName() const
RuleSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool CreatedTimeHasBeenSet() const
AWS_CONNECT_API RuleSummary()
RuleSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetPublishStatus(RulePublishStatus &&value)
void SetName(const Aws::String &value)
bool LastUpdatedTimeHasBeenSet() const
void SetActionSummaries(Aws::Vector< ActionSummary > &&value)
RuleSummary & WithRuleId(const char *value)
const RulePublishStatus & GetPublishStatus() const
const EventSourceName & GetEventSourceName() const
RuleSummary & WithRuleId(Aws::String &&value)
void SetRuleArn(const char *value)
AWS_CONNECT_API RuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ActionSummary > & GetActionSummaries() const
void SetActionSummaries(const Aws::Vector< ActionSummary > &value)
const Aws::String & GetRuleId() const
RuleSummary & WithName(const Aws::String &value)
RuleSummary & WithPublishStatus(const RulePublishStatus &value)
void SetName(Aws::String &&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