7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/notifications/Notifications_EXPORTS.h>
12#include <aws/notifications/model/EventRuleStatusSummary.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace Notifications {
38 template <
typename ArnT = Aws::String>
40 m_arnHasBeenSet =
true;
41 m_arn = std::forward<ArnT>(value);
43 template <
typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
55 template <
typename NotificationConfigurationArnT = Aws::String>
57 m_notificationConfigurationArnHasBeenSet =
true;
58 m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value);
60 template <
typename NotificationConfigurationArnT = Aws::String>
72 template <
typename CreationTimeT = Aws::Utils::DateTime>
74 m_creationTimeHasBeenSet =
true;
75 m_creationTime = std::forward<CreationTimeT>(value);
77 template <
typename CreationTimeT = Aws::Utils::DateTime>
95 template <
typename SourceT = Aws::String>
97 m_sourceHasBeenSet =
true;
98 m_source = std::forward<SourceT>(value);
100 template <
typename SourceT = Aws::String>
117 template <
typename EventTypeT = Aws::String>
119 m_eventTypeHasBeenSet =
true;
120 m_eventType = std::forward<EventTypeT>(value);
122 template <
typename EventTypeT = Aws::String>
137 template <
typename EventPatternT = Aws::String>
139 m_eventPatternHasBeenSet =
true;
140 m_eventPattern = std::forward<EventPatternT>(value);
142 template <
typename EventPatternT = Aws::String>
155 template <
typename RegionsT = Aws::Vector<Aws::String>>
157 m_regionsHasBeenSet =
true;
158 m_regions = std::forward<RegionsT>(value);
160 template <
typename RegionsT = Aws::Vector<Aws::String>>
165 template <
typename RegionsT = Aws::String>
167 m_regionsHasBeenSet =
true;
168 m_regions.emplace_back(std::forward<RegionsT>(value));
180 template <
typename ManagedRulesT = Aws::Vector<Aws::String>>
182 m_managedRulesHasBeenSet =
true;
183 m_managedRules = std::forward<ManagedRulesT>(value);
185 template <
typename ManagedRulesT = Aws::Vector<Aws::String>>
190 template <
typename ManagedRulesT = Aws::String>
192 m_managedRulesHasBeenSet =
true;
193 m_managedRules.emplace_back(std::forward<ManagedRulesT>(value));
204 template <
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
206 m_statusSummaryByRegionHasBeenSet =
true;
207 m_statusSummaryByRegion = std::forward<StatusSummaryByRegionT>(value);
209 template <
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
214 template <
typename StatusSummaryByRegionKeyT = Aws::String,
typename StatusSummaryByRegionValueT = EventRuleStatusSummary>
216 m_statusSummaryByRegionHasBeenSet =
true;
217 m_statusSummaryByRegion.emplace(std::forward<StatusSummaryByRegionKeyT>(key), std::forward<StatusSummaryByRegionValueT>(value));
225 template <
typename RequestIdT = Aws::String>
227 m_requestIdHasBeenSet =
true;
228 m_requestId = std::forward<RequestIdT>(value);
230 template <
typename RequestIdT = Aws::String>
256 bool m_arnHasBeenSet =
false;
257 bool m_notificationConfigurationArnHasBeenSet =
false;
258 bool m_creationTimeHasBeenSet =
false;
259 bool m_sourceHasBeenSet =
false;
260 bool m_eventTypeHasBeenSet =
false;
261 bool m_eventPatternHasBeenSet =
false;
262 bool m_regionsHasBeenSet =
false;
263 bool m_managedRulesHasBeenSet =
false;
264 bool m_statusSummaryByRegionHasBeenSet =
false;
265 bool m_requestIdHasBeenSet =
false;
GetEventRuleResult & WithSource(SourceT &&value)
void SetEventPattern(EventPatternT &&value)
AWS_NOTIFICATIONS_API GetEventRuleResult()=default
const Aws::String & GetEventPattern() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetArn() const
void SetNotificationConfigurationArn(NotificationConfigurationArnT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetNotificationConfigurationArn() const
const Aws::String & GetRequestId() const
void SetManagedRules(ManagedRulesT &&value)
GetEventRuleResult & WithManagedRules(ManagedRulesT &&value)
GetEventRuleResult & WithStatusSummaryByRegion(StatusSummaryByRegionT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
void SetSource(SourceT &&value)
const Aws::String & GetSource() const
const Aws::Map< Aws::String, EventRuleStatusSummary > & GetStatusSummaryByRegion() const
GetEventRuleResult & WithRequestId(RequestIdT &&value)
void SetStatusSummaryByRegion(StatusSummaryByRegionT &&value)
void SetEventType(EventTypeT &&value)
GetEventRuleResult & WithRegions(RegionsT &&value)
GetEventRuleResult & AddManagedRules(ManagedRulesT &&value)
GetEventRuleResult & AddStatusSummaryByRegion(StatusSummaryByRegionKeyT &&key, StatusSummaryByRegionValueT &&value)
AWS_NOTIFICATIONS_API GetEventRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API GetEventRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRegions(RegionsT &&value)
GetEventRuleResult & WithArn(ArnT &&value)
GetEventRuleResult & WithEventType(EventTypeT &&value)
void SetArn(ArnT &&value)
GetEventRuleResult & AddRegions(RegionsT &&value)
GetEventRuleResult & WithEventPattern(EventPatternT &&value)
GetEventRuleResult & WithNotificationConfigurationArn(NotificationConfigurationArnT &&value)
const Aws::String & GetEventType() const
GetEventRuleResult & WithCreationTime(CreationTimeT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetManagedRules() 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