7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/health/Health_EXPORTS.h>
11#include <aws/health/model/EventActionability.h>
12#include <aws/health/model/EventPersona.h>
13#include <aws/health/model/EventScopeCode.h>
14#include <aws/health/model/EventStatusCode.h>
15#include <aws/health/model/EventTypeCategory.h>
54 template <
typename ArnT = Aws::String>
56 m_arnHasBeenSet =
true;
57 m_arn = std::forward<ArnT>(value);
59 template <
typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
73 template <
typename ServiceT = Aws::String>
75 m_serviceHasBeenSet =
true;
76 m_service = std::forward<ServiceT>(value);
78 template <
typename ServiceT = Aws::String>
93 template <
typename EventTypeCodeT = Aws::String>
95 m_eventTypeCodeHasBeenSet =
true;
96 m_eventTypeCode = std::forward<EventTypeCodeT>(value);
98 template <
typename EventTypeCodeT = Aws::String>
114 m_eventTypeCategoryHasBeenSet =
true;
115 m_eventTypeCategory = value;
141 m_eventScopeCodeHasBeenSet =
true;
142 m_eventScopeCode = value;
156 template <
typename RegionT = Aws::String>
158 m_regionHasBeenSet =
true;
159 m_region = std::forward<RegionT>(value);
161 template <
typename RegionT = Aws::String>
174 template <
typename StartTimeT = Aws::Utils::DateTime>
176 m_startTimeHasBeenSet =
true;
177 m_startTime = std::forward<StartTimeT>(value);
179 template <
typename StartTimeT = Aws::Utils::DateTime>
192 template <
typename EndTimeT = Aws::Utils::DateTime>
194 m_endTimeHasBeenSet =
true;
195 m_endTime = std::forward<EndTimeT>(value);
197 template <
typename EndTimeT = Aws::Utils::DateTime>
210 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
212 m_lastUpdatedTimeHasBeenSet =
true;
213 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
215 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
230 m_statusCodeHasBeenSet =
true;
231 m_statusCode = value;
253 m_actionabilityHasBeenSet =
true;
254 m_actionability = value;
271 template <
typename PersonasT = Aws::Vector<EventPersona>>
273 m_personasHasBeenSet =
true;
274 m_personas = std::forward<PersonasT>(value);
276 template <
typename PersonasT = Aws::Vector<EventPersona>>
282 m_personasHasBeenSet =
true;
283 m_personas.push_back(value);
311 bool m_arnHasBeenSet =
false;
312 bool m_serviceHasBeenSet =
false;
313 bool m_eventTypeCodeHasBeenSet =
false;
314 bool m_eventTypeCategoryHasBeenSet =
false;
315 bool m_eventScopeCodeHasBeenSet =
false;
316 bool m_regionHasBeenSet =
false;
317 bool m_startTimeHasBeenSet =
false;
318 bool m_endTimeHasBeenSet =
false;
319 bool m_lastUpdatedTimeHasBeenSet =
false;
320 bool m_statusCodeHasBeenSet =
false;
321 bool m_actionabilityHasBeenSet =
false;
322 bool m_personasHasBeenSet =
false;
bool EventTypeCodeHasBeenSet() const
void SetEventTypeCategory(EventTypeCategory value)
void SetEndTime(EndTimeT &&value)
OrganizationEvent & WithActionability(EventActionability value)
bool PersonasHasBeenSet() const
AWS_HEALTH_API OrganizationEvent()=default
bool EventScopeCodeHasBeenSet() const
OrganizationEvent & WithEventTypeCode(EventTypeCodeT &&value)
EventActionability GetActionability() const
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)
OrganizationEvent & AddPersonas(EventPersona value)
EventStatusCode GetStatusCode() const
OrganizationEvent & WithPersonas(PersonasT &&value)
const Aws::Vector< EventPersona > & GetPersonas() 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)
void SetPersonas(PersonasT &&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 ActionabilityHasBeenSet() 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)
void SetActionability(EventActionability 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue