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>
57 template<
typename ArnT = Aws::String>
58 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
59 template<
typename ArnT = Aws::String>
70 template<
typename ServiceT = Aws::String>
71 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
72 template<
typename ServiceT = Aws::String>
84 template<
typename EventTypeCodeT = Aws::String>
85 void SetEventTypeCode(EventTypeCodeT&& value) { m_eventTypeCodeHasBeenSet =
true; m_eventTypeCode = std::forward<EventTypeCodeT>(value); }
86 template<
typename EventTypeCodeT = Aws::String>
129 template<
typename RegionT = Aws::String>
130 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
131 template<
typename RegionT = Aws::String>
141 template<
typename StartTimeT = Aws::Utils::DateTime>
142 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
143 template<
typename StartTimeT = Aws::Utils::DateTime>
153 template<
typename EndTimeT = Aws::Utils::DateTime>
154 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
155 template<
typename EndTimeT = Aws::Utils::DateTime>
165 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
166 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
167 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
184 bool m_arnHasBeenSet =
false;
187 bool m_serviceHasBeenSet =
false;
190 bool m_eventTypeCodeHasBeenSet =
false;
193 bool m_eventTypeCategoryHasBeenSet =
false;
196 bool m_eventScopeCodeHasBeenSet =
false;
199 bool m_regionHasBeenSet =
false;
202 bool m_startTimeHasBeenSet =
false;
205 bool m_endTimeHasBeenSet =
false;
208 bool m_lastUpdatedTimeHasBeenSet =
false;
211 bool m_statusCodeHasBeenSet =
false;
bool EventTypeCodeHasBeenSet() const
void SetEventTypeCategory(EventTypeCategory value)
void SetEndTime(EndTimeT &&value)
AWS_HEALTH_API OrganizationEvent()=default
bool EventScopeCodeHasBeenSet() const
OrganizationEvent & WithEventTypeCode(EventTypeCodeT &&value)
const Aws::String & GetService() const
OrganizationEvent & WithEventScopeCode(EventScopeCode value)
OrganizationEvent & WithService(ServiceT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_HEALTH_API OrganizationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
EventStatusCode GetStatusCode() const
bool RegionHasBeenSet() const
const Aws::String & GetEventTypeCode() const
const Aws::String & GetArn() const
OrganizationEvent & WithEndTime(EndTimeT &&value)
bool LastUpdatedTimeHasBeenSet() const
void SetStatusCode(EventStatusCode value)
bool EndTimeHasBeenSet() const
bool StatusCodeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetService(ServiceT &&value)
OrganizationEvent & WithArn(ArnT &&value)
OrganizationEvent & WithRegion(RegionT &&value)
bool EventTypeCategoryHasBeenSet() const
void SetArn(ArnT &&value)
AWS_HEALTH_API OrganizationEvent(Aws::Utils::Json::JsonView jsonValue)
void SetEventScopeCode(EventScopeCode value)
OrganizationEvent & WithEventTypeCategory(EventTypeCategory value)
EventScopeCode GetEventScopeCode() const
bool ArnHasBeenSet() const
const Aws::String & GetRegion() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
OrganizationEvent & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetEventTypeCode(EventTypeCodeT &&value)
EventTypeCategory GetEventTypeCategory() const
bool StartTimeHasBeenSet() const
OrganizationEvent & WithStartTime(StartTimeT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceHasBeenSet() const
OrganizationEvent & WithStatusCode(EventStatusCode value)
void SetRegion(RegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue