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/ssm-incidents/model/ChatChannel.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ssm-incidents/model/IncidentRecordSource.h>
13#include <aws/ssm-incidents/model/IncidentRecordStatus.h>
14#include <aws/ssm-incidents/model/AutomationExecution.h>
15#include <aws/ssm-incidents/model/NotificationTargetItem.h>
54 template<
typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
56 template<
typename ArnT = Aws::String>
67 template<
typename AutomationExecutionsT = Aws::Vector<AutomationExecution>>
68 void SetAutomationExecutions(AutomationExecutionsT&& value) { m_automationExecutionsHasBeenSet =
true; m_automationExecutions = std::forward<AutomationExecutionsT>(value); }
69 template<
typename AutomationExecutionsT = Aws::Vector<AutomationExecution>>
71 template<
typename AutomationExecutionsT = AutomationExecution>
72 IncidentRecord&
AddAutomationExecutions(AutomationExecutionsT&& value) { m_automationExecutionsHasBeenSet =
true; m_automationExecutions.emplace_back(std::forward<AutomationExecutionsT>(value));
return *
this; }
81 template<
typename ChatChannelT = ChatChannel>
82 void SetChatChannel(ChatChannelT&& value) { m_chatChannelHasBeenSet =
true; m_chatChannel = std::forward<ChatChannelT>(value); }
83 template<
typename ChatChannelT = ChatChannel>
93 template<
typename CreationTimeT = Aws::Utils::DateTime>
94 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
95 template<
typename CreationTimeT = Aws::Utils::DateTime>
106 template<
typename DedupeStringT = Aws::String>
107 void SetDedupeString(DedupeStringT&& value) { m_dedupeStringHasBeenSet =
true; m_dedupeString = std::forward<DedupeStringT>(value); }
108 template<
typename DedupeStringT = Aws::String>
122 inline void SetImpact(
int value) { m_impactHasBeenSet =
true; m_impact = value; }
132 template<
typename Inc
identRecordSourceT = Inc
identRecordSource>
133 void SetIncidentRecordSource(IncidentRecordSourceT&& value) { m_incidentRecordSourceHasBeenSet =
true; m_incidentRecordSource = std::forward<IncidentRecordSourceT>(value); }
134 template<
typename Inc
identRecordSourceT = Inc
identRecordSource>
144 template<
typename LastModifiedByT = Aws::String>
145 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
146 template<
typename LastModifiedByT = Aws::String>
156 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
157 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
158 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
169 template<
typename NotificationTargetsT = Aws::Vector<NotificationTargetItem>>
170 void SetNotificationTargets(NotificationTargetsT&& value) { m_notificationTargetsHasBeenSet =
true; m_notificationTargets = std::forward<NotificationTargetsT>(value); }
171 template<
typename NotificationTargetsT = Aws::Vector<NotificationTargetItem>>
173 template<
typename NotificationTargetsT = NotificationTargetItem>
174 IncidentRecord&
AddNotificationTargets(NotificationTargetsT&& value) { m_notificationTargetsHasBeenSet =
true; m_notificationTargets.emplace_back(std::forward<NotificationTargetsT>(value));
return *
this; }
184 template<
typename ResolvedTimeT = Aws::Utils::DateTime>
185 void SetResolvedTime(ResolvedTimeT&& value) { m_resolvedTimeHasBeenSet =
true; m_resolvedTime = std::forward<ResolvedTimeT>(value); }
186 template<
typename ResolvedTimeT = Aws::Utils::DateTime>
207 template<
typename SummaryT = Aws::String>
208 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
209 template<
typename SummaryT = Aws::String>
219 template<
typename TitleT = Aws::String>
220 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
221 template<
typename TitleT = Aws::String>
227 bool m_arnHasBeenSet =
false;
230 bool m_automationExecutionsHasBeenSet =
false;
233 bool m_chatChannelHasBeenSet =
false;
236 bool m_creationTimeHasBeenSet =
false;
239 bool m_dedupeStringHasBeenSet =
false;
242 bool m_impactHasBeenSet =
false;
244 IncidentRecordSource m_incidentRecordSource;
245 bool m_incidentRecordSourceHasBeenSet =
false;
248 bool m_lastModifiedByHasBeenSet =
false;
251 bool m_lastModifiedTimeHasBeenSet =
false;
254 bool m_notificationTargetsHasBeenSet =
false;
257 bool m_resolvedTimeHasBeenSet =
false;
260 bool m_statusHasBeenSet =
false;
263 bool m_summaryHasBeenSet =
false;
266 bool m_titleHasBeenSet =
false;
IncidentRecordStatus GetStatus() const
bool DedupeStringHasBeenSet() const
void SetImpact(int value)
IncidentRecord & AddAutomationExecutions(AutomationExecutionsT &&value)
bool LastModifiedTimeHasBeenSet() const
void SetSummary(SummaryT &&value)
void SetStatus(IncidentRecordStatus value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
IncidentRecord & AddNotificationTargets(NotificationTargetsT &&value)
void SetDedupeString(DedupeStringT &&value)
bool StatusHasBeenSet() const
const IncidentRecordSource & GetIncidentRecordSource() const
bool ResolvedTimeHasBeenSet() const
IncidentRecord & WithLastModifiedTime(LastModifiedTimeT &&value)
IncidentRecord & WithChatChannel(ChatChannelT &&value)
IncidentRecord & WithStatus(IncidentRecordStatus value)
IncidentRecord & WithTitle(TitleT &&value)
const Aws::String & GetSummary() const
void SetTitle(TitleT &&value)
IncidentRecord & WithNotificationTargets(NotificationTargetsT &&value)
AWS_SSMINCIDENTS_API IncidentRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
bool IncidentRecordSourceHasBeenSet() const
void SetResolvedTime(ResolvedTimeT &&value)
bool ImpactHasBeenSet() const
IncidentRecord & WithDedupeString(DedupeStringT &&value)
void SetArn(ArnT &&value)
bool LastModifiedByHasBeenSet() const
IncidentRecord & WithSummary(SummaryT &&value)
bool TitleHasBeenSet() const
const Aws::Vector< AutomationExecution > & GetAutomationExecutions() const
void SetCreationTime(CreationTimeT &&value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SummaryHasBeenSet() const
void SetAutomationExecutions(AutomationExecutionsT &&value)
AWS_SSMINCIDENTS_API IncidentRecord(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetDedupeString() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetIncidentRecordSource(IncidentRecordSourceT &&value)
const Aws::Vector< NotificationTargetItem > & GetNotificationTargets() const
const Aws::String & GetTitle() const
const Aws::Utils::DateTime & GetResolvedTime() const
const ChatChannel & GetChatChannel() const
const Aws::String & GetArn() const
IncidentRecord & WithResolvedTime(ResolvedTimeT &&value)
const Aws::String & GetLastModifiedBy() const
IncidentRecord & WithIncidentRecordSource(IncidentRecordSourceT &&value)
IncidentRecord & WithLastModifiedBy(LastModifiedByT &&value)
IncidentRecord & WithAutomationExecutions(AutomationExecutionsT &&value)
bool NotificationTargetsHasBeenSet() const
IncidentRecord & WithCreationTime(CreationTimeT &&value)
void SetNotificationTargets(NotificationTargetsT &&value)
AWS_SSMINCIDENTS_API IncidentRecord()=default
const Aws::Utils::DateTime & GetCreationTime() const
bool ChatChannelHasBeenSet() const
bool AutomationExecutionsHasBeenSet() const
IncidentRecord & WithArn(ArnT &&value)
IncidentRecord & WithImpact(int value)
bool CreationTimeHasBeenSet() const
void SetChatChannel(ChatChannelT &&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