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/health/model/EventScopeCode.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/health/model/EventStatusCode.h>
58 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
59 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
74 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
90 inline void SetEventTypeCode(
const char* value) { m_eventTypeCodeHasBeenSet =
true; m_eventTypeCode.assign(value); }
141 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
198 bool m_arnHasBeenSet =
false;
201 bool m_serviceHasBeenSet =
false;
204 bool m_eventTypeCodeHasBeenSet =
false;
207 bool m_eventTypeCategoryHasBeenSet =
false;
210 bool m_eventScopeCodeHasBeenSet =
false;
213 bool m_regionHasBeenSet =
false;
216 bool m_startTimeHasBeenSet =
false;
219 bool m_endTimeHasBeenSet =
false;
222 bool m_lastUpdatedTimeHasBeenSet =
false;
225 bool m_statusCodeHasBeenSet =
false;
bool EventTypeCodeHasBeenSet() const
void SetStatusCode(const EventStatusCode &value)
void SetEventTypeCategory(EventTypeCategory &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
OrganizationEvent & WithEndTime(Aws::Utils::DateTime &&value)
bool EventScopeCodeHasBeenSet() const
OrganizationEvent & WithRegion(Aws::String &&value)
void SetEventTypeCode(const Aws::String &value)
const EventStatusCode & GetStatusCode() const
void SetEventTypeCode(const char *value)
void SetArn(Aws::String &&value)
const Aws::String & GetService() const
void SetService(const Aws::String &value)
OrganizationEvent & WithRegion(const Aws::String &value)
void SetEventTypeCode(Aws::String &&value)
void SetArn(const char *value)
OrganizationEvent & WithEventTypeCategory(const EventTypeCategory &value)
OrganizationEvent & WithRegion(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_HEALTH_API OrganizationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationEvent & WithEventTypeCode(const char *value)
bool RegionHasBeenSet() const
OrganizationEvent & WithEventScopeCode(EventScopeCode &&value)
OrganizationEvent & WithEventTypeCode(const Aws::String &value)
const Aws::String & GetEventTypeCode() const
OrganizationEvent & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
OrganizationEvent & WithService(Aws::String &&value)
const Aws::String & GetArn() const
bool LastUpdatedTimeHasBeenSet() const
OrganizationEvent & WithArn(const Aws::String &value)
bool EndTimeHasBeenSet() const
bool StatusCodeHasBeenSet() const
void SetStatusCode(EventStatusCode &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetRegion(const Aws::String &value)
void SetRegion(const char *value)
bool EventTypeCategoryHasBeenSet() const
OrganizationEvent & WithEventTypeCategory(EventTypeCategory &&value)
void SetEventScopeCode(EventScopeCode &&value)
OrganizationEvent & WithArn(const char *value)
AWS_HEALTH_API OrganizationEvent(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
const EventTypeCategory & GetEventTypeCategory() const
OrganizationEvent & WithArn(Aws::String &&value)
OrganizationEvent & WithService(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
OrganizationEvent & WithEndTime(const Aws::Utils::DateTime &value)
const EventScopeCode & GetEventScopeCode() const
AWS_HEALTH_API OrganizationEvent()
OrganizationEvent & WithStatusCode(const EventStatusCode &value)
void SetEndTime(Aws::Utils::DateTime &&value)
bool ArnHasBeenSet() const
OrganizationEvent & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetEventTypeCategory(const EventTypeCategory &value)
void SetEventScopeCode(const EventScopeCode &value)
const Aws::String & GetRegion() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
OrganizationEvent & WithStartTime(Aws::Utils::DateTime &&value)
OrganizationEvent & WithEventTypeCode(Aws::String &&value)
bool StartTimeHasBeenSet() const
OrganizationEvent & WithStatusCode(EventStatusCode &&value)
void SetService(const char *value)
OrganizationEvent & WithStartTime(const Aws::Utils::DateTime &value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetService(Aws::String &&value)
void SetRegion(Aws::String &&value)
OrganizationEvent & WithService(const char *value)
bool ServiceHasBeenSet() const
OrganizationEvent & WithEventScopeCode(const EventScopeCode &value)
void SetArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue