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/RulePublishStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename RuleIdT = Aws::String>
66 m_ruleIdHasBeenSet =
true;
67 m_ruleId = std::forward<RuleIdT>(value);
69 template <
typename RuleIdT = Aws::String>
82 template <
typename RuleArnT = Aws::String>
84 m_ruleArnHasBeenSet =
true;
85 m_ruleArn = std::forward<RuleArnT>(value);
87 template <
typename RuleArnT = Aws::String>
101 m_eventSourceNameHasBeenSet =
true;
102 m_eventSourceName = value;
117 m_publishStatusHasBeenSet =
true;
118 m_publishStatus = value;
132 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
134 m_actionSummariesHasBeenSet =
true;
135 m_actionSummaries = std::forward<ActionSummariesT>(value);
137 template <
typename ActionSummariesT = Aws::Vector<ActionSummary>>
142 template <
typename ActionSummariesT = ActionSummary>
144 m_actionSummariesHasBeenSet =
true;
145 m_actionSummaries.emplace_back(std::forward<ActionSummariesT>(value));
156 template <
typename CreatedTimeT = Aws::Utils::DateTime>
158 m_createdTimeHasBeenSet =
true;
159 m_createdTime = std::forward<CreatedTimeT>(value);
161 template <
typename CreatedTimeT = Aws::Utils::DateTime>
174 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
176 m_lastUpdatedTimeHasBeenSet =
true;
177 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
179 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
201 bool m_nameHasBeenSet =
false;
202 bool m_ruleIdHasBeenSet =
false;
203 bool m_ruleArnHasBeenSet =
false;
204 bool m_eventSourceNameHasBeenSet =
false;
205 bool m_publishStatusHasBeenSet =
false;
206 bool m_actionSummariesHasBeenSet =
false;
207 bool m_createdTimeHasBeenSet =
false;
208 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
RulePublishStatus GetPublishStatus() 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)
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)
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