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/ServiceEventDetails.h>
12#include <aws/resiliencehubv2/model/ServiceEventType.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 ServiceArnT = Aws::String>
96 m_serviceArnHasBeenSet =
true;
97 m_serviceArn = std::forward<ServiceArnT>(value);
99 template <
typename ServiceArnT = 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 = ServiceEventDetails>
132 m_eventDetailsHasBeenSet =
true;
133 m_eventDetails = std::forward<EventDetailsT>(value);
135 template <
typename EventDetailsT = ServiceEventDetails>
152 ServiceEventDetails m_eventDetails;
153 bool m_eventIdHasBeenSet =
false;
154 bool m_timestampHasBeenSet =
false;
155 bool m_eventTypeHasBeenSet =
false;
156 bool m_serviceArnHasBeenSet =
false;
157 bool m_actorHasBeenSet =
false;
158 bool m_eventDetailsHasBeenSet =
false;
bool EventIdHasBeenSet() const
bool ActorHasBeenSet() const
void SetEventId(EventIdT &&value)
const EventActor & GetActor() const
ServiceEvent & WithEventType(ServiceEventType value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
AWS_RESILIENCEHUBV2_API ServiceEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API ServiceEvent()=default
void SetActor(ActorT &&value)
bool EventTypeHasBeenSet() const
const ServiceEventDetails & GetEventDetails() const
void SetEventDetails(EventDetailsT &&value)
bool EventDetailsHasBeenSet() const
bool TimestampHasBeenSet() const
bool ServiceArnHasBeenSet() const
ServiceEvent & WithTimestamp(TimestampT &&value)
ServiceEvent & WithEventDetails(EventDetailsT &&value)
const Aws::String & GetServiceArn() const
void SetServiceArn(ServiceArnT &&value)
ServiceEvent & WithEventId(EventIdT &&value)
ServiceEventType GetEventType() const
AWS_RESILIENCEHUBV2_API ServiceEvent(Aws::Utils::Json::JsonView jsonValue)
void SetEventType(ServiceEventType value)
const Aws::String & GetEventId() const
ServiceEvent & WithActor(ActorT &&value)
ServiceEvent & WithServiceArn(ServiceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue