7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/notifications/Notifications_EXPORTS.h>
13#include <aws/notifications/model/EventRuleStatusSummary.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace Notifications {
39 template <
typename ArnT = Aws::String>
41 m_arnHasBeenSet =
true;
42 m_arn = std::forward<ArnT>(value);
44 template <
typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
56 template <
typename NotificationConfigurationArnT = Aws::String>
58 m_notificationConfigurationArnHasBeenSet =
true;
59 m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value);
61 template <
typename NotificationConfigurationArnT = Aws::String>
73 template <
typename CreationTimeT = Aws::Utils::DateTime>
75 m_creationTimeHasBeenSet =
true;
76 m_creationTime = std::forward<CreationTimeT>(value);
78 template <
typename CreationTimeT = Aws::Utils::DateTime>
96 template <
typename SourceT = Aws::String>
98 m_sourceHasBeenSet =
true;
99 m_source = std::forward<SourceT>(value);
101 template <
typename SourceT = Aws::String>
118 template <
typename EventTypeT = Aws::String>
120 m_eventTypeHasBeenSet =
true;
121 m_eventType = std::forward<EventTypeT>(value);
123 template <
typename EventTypeT = Aws::String>
138 template <
typename EventPatternT = Aws::String>
140 m_eventPatternHasBeenSet =
true;
141 m_eventPattern = std::forward<EventPatternT>(value);
143 template <
typename EventPatternT = Aws::String>
156 template <
typename RegionsT = Aws::Vector<Aws::String>>
158 m_regionsHasBeenSet =
true;
159 m_regions = std::forward<RegionsT>(value);
161 template <
typename RegionsT = Aws::Vector<Aws::String>>
166 template <
typename RegionsT = Aws::String>
168 m_regionsHasBeenSet =
true;
169 m_regions.emplace_back(std::forward<RegionsT>(value));
181 template <
typename ManagedRulesT = Aws::Vector<Aws::String>>
183 m_managedRulesHasBeenSet =
true;
184 m_managedRules = std::forward<ManagedRulesT>(value);
186 template <
typename ManagedRulesT = Aws::Vector<Aws::String>>
191 template <
typename ManagedRulesT = Aws::String>
193 m_managedRulesHasBeenSet =
true;
194 m_managedRules.emplace_back(std::forward<ManagedRulesT>(value));
205 template <
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
207 m_statusSummaryByRegionHasBeenSet =
true;
208 m_statusSummaryByRegion = std::forward<StatusSummaryByRegionT>(value);
210 template <
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
215 template <
typename StatusSummaryByRegionKeyT = Aws::String,
typename StatusSummaryByRegionValueT = EventRuleStatusSummary>
217 m_statusSummaryByRegionHasBeenSet =
true;
218 m_statusSummaryByRegion.emplace(std::forward<StatusSummaryByRegionKeyT>(key), std::forward<StatusSummaryByRegionValueT>(value));
226 template <
typename RequestIdT = Aws::String>
228 m_requestIdHasBeenSet =
true;
229 m_requestId = std::forward<RequestIdT>(value);
231 template <
typename RequestIdT = Aws::String>
260 bool m_arnHasBeenSet =
false;
261 bool m_notificationConfigurationArnHasBeenSet =
false;
262 bool m_creationTimeHasBeenSet =
false;
263 bool m_sourceHasBeenSet =
false;
264 bool m_eventTypeHasBeenSet =
false;
265 bool m_eventPatternHasBeenSet =
false;
266 bool m_regionsHasBeenSet =
false;
267 bool m_managedRulesHasBeenSet =
false;
268 bool m_statusSummaryByRegionHasBeenSet =
false;
269 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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