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 EventIdT = Aws::String>
51 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
52 template<
typename EventIdT = Aws::String>
62 template<
typename EventReferencesT = Aws::Vector<EventReference>>
63 void SetEventReferences(EventReferencesT&& value) { m_eventReferencesHasBeenSet =
true; m_eventReferences = std::forward<EventReferencesT>(value); }
64 template<
typename EventReferencesT = Aws::Vector<EventReference>>
66 template<
typename EventReferencesT = EventReference>
67 EventSummary&
AddEventReferences(EventReferencesT&& value) { m_eventReferencesHasBeenSet =
true; m_eventReferences.emplace_back(std::forward<EventReferencesT>(value));
return *
this; }
76 template<
typename EventTimeT = Aws::Utils::DateTime>
77 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
78 template<
typename EventTimeT = Aws::Utils::DateTime>
89 template<
typename EventTypeT = Aws::String>
90 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
91 template<
typename EventTypeT = Aws::String>
101 template<
typename EventUpdatedTimeT = Aws::Utils::DateTime>
102 void SetEventUpdatedTime(EventUpdatedTimeT&& value) { m_eventUpdatedTimeHasBeenSet =
true; m_eventUpdatedTime = std::forward<EventUpdatedTimeT>(value); }
103 template<
typename EventUpdatedTimeT = Aws::Utils::DateTime>
114 template<
typename Inc
identRecordArnT = Aws::String>
115 void SetIncidentRecordArn(IncidentRecordArnT&& value) { m_incidentRecordArnHasBeenSet =
true; m_incidentRecordArn = std::forward<IncidentRecordArnT>(value); }
116 template<
typename Inc
identRecordArnT = Aws::String>
122 bool m_eventIdHasBeenSet =
false;
125 bool m_eventReferencesHasBeenSet =
false;
128 bool m_eventTimeHasBeenSet =
false;
131 bool m_eventTypeHasBeenSet =
false;
134 bool m_eventUpdatedTimeHasBeenSet =
false;
137 bool m_incidentRecordArnHasBeenSet =
false;
const Aws::String & GetEventId() const
const Aws::Utils::DateTime & GetEventUpdatedTime() const
bool EventIdHasBeenSet() const
void SetEventUpdatedTime(EventUpdatedTimeT &&value)
void SetEventTime(EventTimeT &&value)
AWS_SSMINCIDENTS_API EventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEventType() const
AWS_SSMINCIDENTS_API EventSummary(Aws::Utils::Json::JsonView jsonValue)
void SetIncidentRecordArn(IncidentRecordArnT &&value)
bool EventTimeHasBeenSet() const
bool IncidentRecordArnHasBeenSet() const
const Aws::Utils::DateTime & GetEventTime() const
bool EventTypeHasBeenSet() const
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
EventSummary & AddEventReferences(EventReferencesT &&value)
EventSummary & WithEventId(EventIdT &&value)
bool EventReferencesHasBeenSet() const
const Aws::String & GetIncidentRecordArn() const
const Aws::Vector< EventReference > & GetEventReferences() const
bool EventUpdatedTimeHasBeenSet() const
EventSummary & WithEventUpdatedTime(EventUpdatedTimeT &&value)
EventSummary & WithEventReferences(EventReferencesT &&value)
EventSummary & WithIncidentRecordArn(IncidentRecordArnT &&value)
void SetEventType(EventTypeT &&value)
void SetEventReferences(EventReferencesT &&value)
AWS_SSMINCIDENTS_API EventSummary()=default
void SetEventId(EventIdT &&value)
EventSummary & WithEventTime(EventTimeT &&value)
EventSummary & 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