7#include <aws/health/Health_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/health/model/EventTypeCategory.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/health/model/EventStatusCode.h>
12#include <aws/health/model/EventScopeCode.h>
51 AWS_HEALTH_API
Event() =
default;
68 template<
typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
70 template<
typename ArnT = Aws::String>
81 template<
typename ServiceT = Aws::String>
82 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
83 template<
typename ServiceT = Aws::String>
95 template<
typename EventTypeCodeT = Aws::String>
96 void SetEventTypeCode(EventTypeCodeT&& value) { m_eventTypeCodeHasBeenSet =
true; m_eventTypeCode = std::forward<EventTypeCodeT>(value); }
97 template<
typename EventTypeCodeT = Aws::String>
119 template<
typename RegionT = Aws::String>
120 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
121 template<
typename RegionT = Aws::String>
132 template<
typename AvailabilityZoneT = Aws::String>
133 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
134 template<
typename AvailabilityZoneT = Aws::String>
144 template<
typename StartTimeT = Aws::Utils::DateTime>
145 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
146 template<
typename StartTimeT = Aws::Utils::DateTime>
156 template<
typename EndTimeT = Aws::Utils::DateTime>
157 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
158 template<
typename EndTimeT = Aws::Utils::DateTime>
168 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
169 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
170 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
208 bool m_arnHasBeenSet =
false;
211 bool m_serviceHasBeenSet =
false;
214 bool m_eventTypeCodeHasBeenSet =
false;
217 bool m_eventTypeCategoryHasBeenSet =
false;
220 bool m_regionHasBeenSet =
false;
223 bool m_availabilityZoneHasBeenSet =
false;
226 bool m_startTimeHasBeenSet =
false;
229 bool m_endTimeHasBeenSet =
false;
232 bool m_lastUpdatedTimeHasBeenSet =
false;
235 bool m_statusCodeHasBeenSet =
false;
238 bool m_eventScopeCodeHasBeenSet =
false;
Event & WithArn(ArnT &&value)
Event & WithStatusCode(EventStatusCode value)
void SetRegion(RegionT &&value)
bool EventTypeCategoryHasBeenSet() const
Event & WithRegion(RegionT &&value)
void SetStartTime(StartTimeT &&value)
bool EventTypeCodeHasBeenSet() const
void SetService(ServiceT &&value)
const Aws::String & GetRegion() const
AWS_HEALTH_API Event()=default
void SetEventTypeCategory(EventTypeCategory value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
bool EndTimeHasBeenSet() const
bool StartTimeHasBeenSet() const
const Aws::String & GetArn() const
AWS_HEALTH_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & WithEventTypeCategory(EventTypeCategory value)
void SetEventScopeCode(EventScopeCode value)
Event & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool RegionHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
void SetEventTypeCode(EventTypeCodeT &&value)
EventStatusCode GetStatusCode() const
const Aws::String & GetService() const
void SetEndTime(EndTimeT &&value)
const Aws::String & GetAvailabilityZone() const
Event & WithEndTime(EndTimeT &&value)
bool AvailabilityZoneHasBeenSet() const
Event & WithEventTypeCode(EventTypeCodeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
EventScopeCode GetEventScopeCode() const
bool EventScopeCodeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetArn(ArnT &&value)
Event & WithEventScopeCode(EventScopeCode value)
Event & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
EventTypeCategory GetEventTypeCategory() const
void SetStatusCode(EventStatusCode value)
const Aws::String & GetEventTypeCode() const
AWS_HEALTH_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
bool ServiceHasBeenSet() const
bool StatusCodeHasBeenSet() const
Event & WithStartTime(StartTimeT &&value)
Event & WithService(ServiceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue