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>
52 inline void SetEventData(
const char* value) { m_eventDataHasBeenSet =
true; m_eventData.assign(value); }
66 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
107 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
134 inline void SetIncidentRecordArn(
const char* value) { m_incidentRecordArnHasBeenSet =
true; m_incidentRecordArn.assign(value); }
142 bool m_eventDataHasBeenSet =
false;
145 bool m_eventIdHasBeenSet =
false;
148 bool m_eventReferencesHasBeenSet =
false;
151 bool m_eventTimeHasBeenSet =
false;
154 bool m_eventTypeHasBeenSet =
false;
157 bool m_eventUpdatedTimeHasBeenSet =
false;
160 bool m_incidentRecordArnHasBeenSet =
false;
const Aws::String & GetEventId() const
bool IncidentRecordArnHasBeenSet() const
TimelineEvent & WithEventData(const char *value)
TimelineEvent & WithEventId(Aws::String &&value)
void SetEventData(const Aws::String &value)
void SetEventId(Aws::String &&value)
void SetIncidentRecordArn(Aws::String &&value)
TimelineEvent & WithEventTime(const Aws::Utils::DateTime &value)
void SetEventReferences(Aws::Vector< EventReference > &&value)
TimelineEvent & WithEventType(const char *value)
TimelineEvent & WithEventData(const Aws::String &value)
TimelineEvent & WithIncidentRecordArn(const char *value)
TimelineEvent & WithEventReferences(Aws::Vector< EventReference > &&value)
const Aws::String & GetEventType() const
void SetEventData(const char *value)
TimelineEvent & WithEventTime(Aws::Utils::DateTime &&value)
void SetEventType(Aws::String &&value)
const Aws::Vector< EventReference > & GetEventReferences() const
bool EventIdHasBeenSet() const
void SetEventTime(const Aws::Utils::DateTime &value)
void SetEventUpdatedTime(Aws::Utils::DateTime &&value)
TimelineEvent & WithEventType(const Aws::String &value)
AWS_SSMINCIDENTS_API TimelineEvent(Aws::Utils::Json::JsonView jsonValue)
TimelineEvent & WithEventReferences(const Aws::Vector< EventReference > &value)
const Aws::Utils::DateTime & GetEventTime() const
TimelineEvent & WithEventId(const char *value)
void SetEventData(Aws::String &&value)
TimelineEvent & AddEventReferences(EventReference &&value)
bool EventTypeHasBeenSet() const
TimelineEvent & WithEventId(const Aws::String &value)
void SetEventId(const char *value)
TimelineEvent & WithEventUpdatedTime(Aws::Utils::DateTime &&value)
void SetIncidentRecordArn(const char *value)
const Aws::String & GetIncidentRecordArn() const
bool EventDataHasBeenSet() const
bool EventReferencesHasBeenSet() const
AWS_SSMINCIDENTS_API TimelineEvent()
AWS_SSMINCIDENTS_API TimelineEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventReferences(const Aws::Vector< EventReference > &value)
void SetEventTime(Aws::Utils::DateTime &&value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEventUpdatedTime() const
void SetIncidentRecordArn(const Aws::String &value)
TimelineEvent & AddEventReferences(const EventReference &value)
const Aws::String & GetEventData() const
void SetEventId(const Aws::String &value)
void SetEventType(const Aws::String &value)
void SetEventType(const char *value)
TimelineEvent & WithIncidentRecordArn(const Aws::String &value)
TimelineEvent & WithEventUpdatedTime(const Aws::Utils::DateTime &value)
bool EventUpdatedTimeHasBeenSet() const
void SetEventUpdatedTime(const Aws::Utils::DateTime &value)
TimelineEvent & WithEventType(Aws::String &&value)
bool EventTimeHasBeenSet() const
TimelineEvent & WithEventData(Aws::String &&value)
TimelineEvent & WithIncidentRecordArn(Aws::String &&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