7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/SSMIncidentsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ssm-incidents/model/EventReference.h>
14#include <aws/core/utils/UUID.h>
46 template<
typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<
typename ClientTokenT = Aws::String>
58 template<
typename EventDataT = Aws::String>
59 void SetEventData(EventDataT&& value) { m_eventDataHasBeenSet =
true; m_eventData = std::forward<EventDataT>(value); }
60 template<
typename EventDataT = Aws::String>
76 template<
typename EventReferencesT = Aws::Vector<EventReference>>
77 void SetEventReferences(EventReferencesT&& value) { m_eventReferencesHasBeenSet =
true; m_eventReferences = std::forward<EventReferencesT>(value); }
78 template<
typename EventReferencesT = Aws::Vector<EventReference>>
80 template<
typename EventReferencesT = EventReference>
90 template<
typename EventTimeT = Aws::Utils::DateTime>
91 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
92 template<
typename EventTimeT = Aws::Utils::DateTime>
106 template<
typename EventTypeT = Aws::String>
107 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
108 template<
typename EventTypeT = Aws::String>
119 template<
typename Inc
identRecordArnT = Aws::String>
120 void SetIncidentRecordArn(IncidentRecordArnT&& value) { m_incidentRecordArnHasBeenSet =
true; m_incidentRecordArn = std::forward<IncidentRecordArnT>(value); }
121 template<
typename Inc
identRecordArnT = Aws::String>
127 bool m_clientTokenHasBeenSet =
true;
130 bool m_eventDataHasBeenSet =
false;
133 bool m_eventReferencesHasBeenSet =
false;
136 bool m_eventTimeHasBeenSet =
false;
139 bool m_eventTypeHasBeenSet =
false;
142 bool m_incidentRecordArnHasBeenSet =
false;
CreateTimelineEventRequest & AddEventReferences(EventReferencesT &&value)
bool EventDataHasBeenSet() const
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
void SetEventData(EventDataT &&value)
const Aws::Utils::DateTime & GetEventTime() const
CreateTimelineEventRequest & WithIncidentRecordArn(IncidentRecordArnT &&value)
void SetEventReferences(EventReferencesT &&value)
void SetEventType(EventTypeT &&value)
virtual const char * GetServiceRequestName() const override
CreateTimelineEventRequest & WithEventTime(EventTimeT &&value)
void SetClientToken(ClientTokenT &&value)
CreateTimelineEventRequest & WithClientToken(ClientTokenT &&value)
CreateTimelineEventRequest & WithEventType(EventTypeT &&value)
void SetEventTime(EventTimeT &&value)
const Aws::Vector< EventReference > & GetEventReferences() const
void SetIncidentRecordArn(IncidentRecordArnT &&value)
CreateTimelineEventRequest & WithEventReferences(EventReferencesT &&value)
bool EventTimeHasBeenSet() const
AWS_SSMINCIDENTS_API CreateTimelineEventRequest()=default
bool IncidentRecordArnHasBeenSet() const
const Aws::String & GetEventData() const
const Aws::String & GetIncidentRecordArn() const
const Aws::String & GetEventType() const
bool ClientTokenHasBeenSet() const
bool EventReferencesHasBeenSet() const
bool EventTypeHasBeenSet() const
CreateTimelineEventRequest & WithEventData(EventDataT &&value)
const Aws::String & GetClientToken() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector