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>
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
62 inline void SetEventData(
const char* value) { m_eventDataHasBeenSet =
true; m_eventData.assign(value); }
112 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
127 inline void SetIncidentRecordArn(
const char* value) { m_incidentRecordArnHasBeenSet =
true; m_incidentRecordArn.assign(value); }
135 bool m_clientTokenHasBeenSet =
false;
138 bool m_eventDataHasBeenSet =
false;
141 bool m_eventReferencesHasBeenSet =
false;
144 bool m_eventTimeHasBeenSet =
false;
147 bool m_eventTypeHasBeenSet =
false;
150 bool m_incidentRecordArnHasBeenSet =
false;
CreateTimelineEventRequest & WithIncidentRecordArn(const char *value)
CreateTimelineEventRequest & WithClientToken(Aws::String &&value)
CreateTimelineEventRequest & WithEventReferences(Aws::Vector< EventReference > &&value)
void SetEventReferences(const Aws::Vector< EventReference > &value)
void SetClientToken(const Aws::String &value)
void SetIncidentRecordArn(Aws::String &&value)
bool EventDataHasBeenSet() const
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
void SetEventData(Aws::String &&value)
CreateTimelineEventRequest & WithEventType(const char *value)
CreateTimelineEventRequest & WithClientToken(const Aws::String &value)
CreateTimelineEventRequest & WithIncidentRecordArn(Aws::String &&value)
void SetEventTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEventTime() const
CreateTimelineEventRequest & AddEventReferences(const EventReference &value)
void SetEventData(const Aws::String &value)
void SetEventType(Aws::String &&value)
void SetClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateTimelineEventRequest & WithEventData(const Aws::String &value)
void SetEventData(const char *value)
AWS_SSMINCIDENTS_API CreateTimelineEventRequest()
void SetEventType(const char *value)
void SetClientToken(const char *value)
const Aws::Vector< EventReference > & GetEventReferences() const
void SetIncidentRecordArn(const char *value)
CreateTimelineEventRequest & WithEventType(Aws::String &&value)
CreateTimelineEventRequest & WithIncidentRecordArn(const Aws::String &value)
void SetIncidentRecordArn(const Aws::String &value)
bool EventTimeHasBeenSet() const
CreateTimelineEventRequest & WithEventTime(Aws::Utils::DateTime &&value)
bool IncidentRecordArnHasBeenSet() const
const Aws::String & GetEventData() const
CreateTimelineEventRequest & WithEventData(Aws::String &&value)
void SetEventType(const Aws::String &value)
CreateTimelineEventRequest & WithEventType(const Aws::String &value)
CreateTimelineEventRequest & WithEventReferences(const Aws::Vector< EventReference > &value)
const Aws::String & GetIncidentRecordArn() const
void SetEventTime(Aws::Utils::DateTime &&value)
CreateTimelineEventRequest & AddEventReferences(EventReference &&value)
const Aws::String & GetEventType() const
bool ClientTokenHasBeenSet() const
bool EventReferencesHasBeenSet() const
CreateTimelineEventRequest & WithEventData(const char *value)
bool EventTypeHasBeenSet() const
CreateTimelineEventRequest & WithClientToken(const char *value)
CreateTimelineEventRequest & WithEventTime(const Aws::Utils::DateTime &value)
const Aws::String & GetClientToken() const
void SetEventReferences(Aws::Vector< EventReference > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector