7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ssm-incidents/model/EventReference.h>
50 template<
typename EventDataT = Aws::String>
51 void SetEventData(EventDataT&& value) { m_eventDataHasBeenSet =
true; m_eventData = std::forward<EventDataT>(value); }
52 template<
typename EventDataT = Aws::String>
62 template<
typename EventIdT = Aws::String>
63 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
64 template<
typename EventIdT = Aws::String>
74 template<
typename EventReferencesT = Aws::Vector<EventReference>>
75 void SetEventReferences(EventReferencesT&& value) { m_eventReferencesHasBeenSet =
true; m_eventReferences = std::forward<EventReferencesT>(value); }
76 template<
typename EventReferencesT = Aws::Vector<EventReference>>
78 template<
typename EventReferencesT = EventReference>
79 TimelineEvent&
AddEventReferences(EventReferencesT&& value) { m_eventReferencesHasBeenSet =
true; m_eventReferences.emplace_back(std::forward<EventReferencesT>(value));
return *
this; }
88 template<
typename EventTimeT = Aws::Utils::DateTime>
89 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
90 template<
typename EventTimeT = Aws::Utils::DateTime>
101 template<
typename EventTypeT = Aws::String>
102 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
103 template<
typename EventTypeT = Aws::String>
113 template<
typename EventUpdatedTimeT = Aws::Utils::DateTime>
114 void SetEventUpdatedTime(EventUpdatedTimeT&& value) { m_eventUpdatedTimeHasBeenSet =
true; m_eventUpdatedTime = std::forward<EventUpdatedTimeT>(value); }
115 template<
typename EventUpdatedTimeT = Aws::Utils::DateTime>
126 template<
typename Inc
identRecordArnT = Aws::String>
127 void SetIncidentRecordArn(IncidentRecordArnT&& value) { m_incidentRecordArnHasBeenSet =
true; m_incidentRecordArn = std::forward<IncidentRecordArnT>(value); }
128 template<
typename Inc
identRecordArnT = Aws::String>
134 bool m_eventDataHasBeenSet =
false;
137 bool m_eventIdHasBeenSet =
false;
140 bool m_eventReferencesHasBeenSet =
false;
143 bool m_eventTimeHasBeenSet =
false;
146 bool m_eventTypeHasBeenSet =
false;
149 bool m_eventUpdatedTimeHasBeenSet =
false;
152 bool m_incidentRecordArnHasBeenSet =
false;
const Aws::String & GetEventId() const
bool IncidentRecordArnHasBeenSet() const
void SetEventReferences(EventReferencesT &&value)
void SetEventId(EventIdT &&value)
TimelineEvent & WithEventReferences(EventReferencesT &&value)
void SetEventUpdatedTime(EventUpdatedTimeT &&value)
const Aws::String & GetEventType() const
const Aws::Vector< EventReference > & GetEventReferences() const
bool EventIdHasBeenSet() const
AWS_SSMINCIDENTS_API TimelineEvent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEventTime() const
TimelineEvent & WithEventUpdatedTime(EventUpdatedTimeT &&value)
bool EventTypeHasBeenSet() const
const Aws::String & GetIncidentRecordArn() const
bool EventDataHasBeenSet() const
TimelineEvent & WithEventId(EventIdT &&value)
bool EventReferencesHasBeenSet() const
TimelineEvent & WithEventData(EventDataT &&value)
AWS_SSMINCIDENTS_API TimelineEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventType(EventTypeT &&value)
void SetEventTime(EventTimeT &&value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEventUpdatedTime() const
TimelineEvent & AddEventReferences(EventReferencesT &&value)
const Aws::String & GetEventData() const
AWS_SSMINCIDENTS_API TimelineEvent()=default
TimelineEvent & WithEventTime(EventTimeT &&value)
bool EventUpdatedTimeHasBeenSet() const
void SetEventData(EventDataT &&value)
TimelineEvent & WithIncidentRecordArn(IncidentRecordArnT &&value)
bool EventTimeHasBeenSet() const
void SetIncidentRecordArn(IncidentRecordArnT &&value)
TimelineEvent & WithEventType(EventTypeT &&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