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>
69 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
70 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
85 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
101 inline void SetEventTypeCode(
const char* value) { m_eventTypeCodeHasBeenSet =
true; m_eventTypeCode.assign(value); }
129 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
144 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
224 bool m_arnHasBeenSet =
false;
227 bool m_serviceHasBeenSet =
false;
230 bool m_eventTypeCodeHasBeenSet =
false;
233 bool m_eventTypeCategoryHasBeenSet =
false;
236 bool m_regionHasBeenSet =
false;
239 bool m_availabilityZoneHasBeenSet =
false;
242 bool m_startTimeHasBeenSet =
false;
245 bool m_endTimeHasBeenSet =
false;
248 bool m_lastUpdatedTimeHasBeenSet =
false;
251 bool m_statusCodeHasBeenSet =
false;
254 bool m_eventScopeCodeHasBeenSet =
false;
Event & WithService(Aws::String &&value)
void SetEventTypeCategory(const EventTypeCategory &value)
void SetService(const Aws::String &value)
Event & WithService(const Aws::String &value)
bool EventTypeCategoryHasBeenSet() const
void SetAvailabilityZone(Aws::String &&value)
void SetService(Aws::String &&value)
Event & WithArn(Aws::String &&value)
void SetStatusCode(EventStatusCode &&value)
void SetAvailabilityZone(const char *value)
bool EventTypeCodeHasBeenSet() const
const Aws::String & GetRegion() const
void SetRegion(Aws::String &&value)
Event & WithEventTypeCode(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
const EventTypeCategory & GetEventTypeCategory() const
Event & WithEndTime(Aws::Utils::DateTime &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
bool EndTimeHasBeenSet() const
Event & WithRegion(const Aws::String &value)
bool StartTimeHasBeenSet() const
const Aws::String & GetArn() const
AWS_HEALTH_API Event(Aws::Utils::Json::JsonView jsonValue)
const EventScopeCode & GetEventScopeCode() const
Event & WithStatusCode(EventStatusCode &&value)
Event & WithAvailabilityZone(const Aws::String &value)
void SetEventTypeCode(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool RegionHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
void SetRegion(const Aws::String &value)
void SetEventTypeCode(const char *value)
void SetAvailabilityZone(const Aws::String &value)
Event & WithEventTypeCode(Aws::String &&value)
const Aws::String & GetService() const
const Aws::String & GetAvailabilityZone() const
bool AvailabilityZoneHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
Event & WithService(const char *value)
bool EventScopeCodeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetArn(Aws::String &&value)
const EventStatusCode & GetStatusCode() const
void SetArn(const Aws::String &value)
Event & WithStatusCode(const EventStatusCode &value)
Event & WithStartTime(Aws::Utils::DateTime &&value)
Event & WithStartTime(const Aws::Utils::DateTime &value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventScopeCode(EventScopeCode &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
Event & WithArn(const char *value)
Event & WithEventScopeCode(const EventScopeCode &value)
Event & WithEventTypeCode(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Event & WithRegion(Aws::String &&value)
const Aws::String & GetEventTypeCode() const
AWS_HEALTH_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
void SetService(const char *value)
Event & WithArn(const Aws::String &value)
Event & WithEventTypeCategory(const EventTypeCategory &value)
void SetStatusCode(const EventStatusCode &value)
void SetStartTime(Aws::Utils::DateTime &&value)
Event & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Event & WithAvailabilityZone(const char *value)
Event & WithEndTime(const Aws::Utils::DateTime &value)
void SetEventTypeCode(const Aws::String &value)
void SetEventScopeCode(const EventScopeCode &value)
bool ServiceHasBeenSet() const
void SetEventTypeCategory(EventTypeCategory &&value)
Event & WithRegion(const char *value)
bool StatusCodeHasBeenSet() const
Event & WithEventScopeCode(EventScopeCode &&value)
void SetRegion(const char *value)
Event & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
Event & WithAvailabilityZone(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Event & WithEventTypeCategory(EventTypeCategory &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue