7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/notifications/model/EventRuleStatusSummary.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace Notifications
44 template<
typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
46 template<
typename ArnT = Aws::String>
55 template<
typename NotificationConfigurationArnT = Aws::String>
56 void SetNotificationConfigurationArn(NotificationConfigurationArnT&& value) { m_notificationConfigurationArnHasBeenSet =
true; m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value); }
57 template<
typename NotificationConfigurationArnT = Aws::String>
66 template<
typename CreationTimeT = Aws::Utils::DateTime>
67 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
68 template<
typename CreationTimeT = Aws::Utils::DateTime>
83 template<
typename SourceT = Aws::String>
84 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
85 template<
typename SourceT = Aws::String>
99 template<
typename EventTypeT = Aws::String>
100 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
101 template<
typename EventTypeT = Aws::String>
113 template<
typename EventPatternT = Aws::String>
114 void SetEventPattern(EventPatternT&& value) { m_eventPatternHasBeenSet =
true; m_eventPattern = std::forward<EventPatternT>(value); }
115 template<
typename EventPatternT = Aws::String>
125 template<
typename RegionsT = Aws::Vector<Aws::String>>
126 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions = std::forward<RegionsT>(value); }
127 template<
typename RegionsT = Aws::Vector<Aws::String>>
129 template<
typename RegionsT = Aws::String>
140 template<
typename ManagedRulesT = Aws::Vector<Aws::String>>
141 void SetManagedRules(ManagedRulesT&& value) { m_managedRulesHasBeenSet =
true; m_managedRules = std::forward<ManagedRulesT>(value); }
142 template<
typename ManagedRulesT = Aws::Vector<Aws::String>>
144 template<
typename ManagedRulesT = Aws::String>
154 template<
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
155 void SetStatusSummaryByRegion(StatusSummaryByRegionT&& value) { m_statusSummaryByRegionHasBeenSet =
true; m_statusSummaryByRegion = std::forward<StatusSummaryByRegionT>(value); }
156 template<
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
158 template<
typename StatusSummaryByRegionKeyT = Aws::String,
typename StatusSummaryByRegionValueT = EventRuleStatusSummary>
160 m_statusSummaryByRegionHasBeenSet =
true; m_statusSummaryByRegion.emplace(std::forward<StatusSummaryByRegionKeyT>(key), std::forward<StatusSummaryByRegionValueT>(value));
return *
this;
167 template<
typename RequestIdT = Aws::String>
168 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
169 template<
typename RequestIdT = Aws::String>
175 bool m_arnHasBeenSet =
false;
178 bool m_notificationConfigurationArnHasBeenSet =
false;
181 bool m_creationTimeHasBeenSet =
false;
184 bool m_sourceHasBeenSet =
false;
187 bool m_eventTypeHasBeenSet =
false;
190 bool m_eventPatternHasBeenSet =
false;
193 bool m_regionsHasBeenSet =
false;
196 bool m_managedRulesHasBeenSet =
false;
199 bool m_statusSummaryByRegionHasBeenSet =
false;
202 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