7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/EventActor.h>
11#include <aws/resiliencehubv2/model/SystemEventDetails.h>
12#include <aws/resiliencehubv2/model/SystemEventType.h>
23namespace resiliencehubv2 {
44 template <
typename EventIdT = Aws::String>
46 m_eventIdHasBeenSet =
true;
47 m_eventId = std::forward<EventIdT>(value);
49 template <
typename EventIdT = Aws::String>
62 template <
typename TimestampT = Aws::Utils::DateTime>
64 m_timestampHasBeenSet =
true;
65 m_timestamp = std::forward<TimestampT>(value);
67 template <
typename TimestampT = Aws::Utils::DateTime>
81 m_eventTypeHasBeenSet =
true;
94 template <
typename SystemArnT = Aws::String>
96 m_systemArnHasBeenSet =
true;
97 m_systemArn = std::forward<SystemArnT>(value);
99 template <
typename SystemArnT = Aws::String>
112 template <
typename ActorT = EventActor>
114 m_actorHasBeenSet =
true;
115 m_actor = std::forward<ActorT>(value);
117 template <
typename ActorT = EventActor>
119 SetActor(std::forward<ActorT>(value));
130 template <
typename EventDetailsT = SystemEventDetails>
132 m_eventDetailsHasBeenSet =
true;
133 m_eventDetails = std::forward<EventDetailsT>(value);
135 template <
typename EventDetailsT = SystemEventDetails>
152 SystemEventDetails m_eventDetails;
153 bool m_eventIdHasBeenSet =
false;
154 bool m_timestampHasBeenSet =
false;
155 bool m_eventTypeHasBeenSet =
false;
156 bool m_systemArnHasBeenSet =
false;
157 bool m_actorHasBeenSet =
false;
158 bool m_eventDetailsHasBeenSet =
false;
SystemEvent & WithActor(ActorT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API SystemEvent()=default
SystemEvent & WithTimestamp(TimestampT &&value)
void SetEventType(SystemEventType value)
bool EventIdHasBeenSet() const
const SystemEventDetails & GetEventDetails() const
void SetEventDetails(EventDetailsT &&value)
AWS_RESILIENCEHUBV2_API SystemEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventId(EventIdT &&value)
void SetSystemArn(SystemArnT &&value)
void SetTimestamp(TimestampT &&value)
void SetActor(ActorT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
bool ActorHasBeenSet() const
SystemEvent & WithEventId(EventIdT &&value)
SystemEvent & WithEventDetails(EventDetailsT &&value)
const Aws::String & GetEventId() const
const Aws::String & GetSystemArn() const
bool EventTypeHasBeenSet() const
const EventActor & GetActor() const
SystemEvent & WithEventType(SystemEventType value)
bool EventDetailsHasBeenSet() const
AWS_RESILIENCEHUBV2_API SystemEvent(Aws::Utils::Json::JsonView jsonValue)
bool TimestampHasBeenSet() const
bool SystemArnHasBeenSet() const
SystemEvent & WithSystemArn(SystemArnT &&value)
SystemEventType GetEventType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue