7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm-incidents/model/IncidentRecordSource.h>
11#include <aws/ssm-incidents/model/IncidentRecordStatus.h>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
61 template<
typename CreationTimeT = Aws::Utils::DateTime>
62 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
63 template<
typename CreationTimeT = Aws::Utils::DateTime>
73 inline void SetImpact(
int value) { m_impactHasBeenSet =
true; m_impact = value; }
83 template<
typename Inc
identRecordSourceT = Inc
identRecordSource>
84 void SetIncidentRecordSource(IncidentRecordSourceT&& value) { m_incidentRecordSourceHasBeenSet =
true; m_incidentRecordSource = std::forward<IncidentRecordSourceT>(value); }
85 template<
typename Inc
identRecordSourceT = Inc
identRecordSource>
95 template<
typename ResolvedTimeT = Aws::Utils::DateTime>
96 void SetResolvedTime(ResolvedTimeT&& value) { m_resolvedTimeHasBeenSet =
true; m_resolvedTime = std::forward<ResolvedTimeT>(value); }
97 template<
typename ResolvedTimeT = Aws::Utils::DateTime>
118 template<
typename TitleT = Aws::String>
119 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
120 template<
typename TitleT = Aws::String>
126 bool m_arnHasBeenSet =
false;
129 bool m_creationTimeHasBeenSet =
false;
132 bool m_impactHasBeenSet =
false;
134 IncidentRecordSource m_incidentRecordSource;
135 bool m_incidentRecordSourceHasBeenSet =
false;
138 bool m_resolvedTimeHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
144 bool m_titleHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationTime() const
const IncidentRecordSource & GetIncidentRecordSource() const
IncidentRecordStatus GetStatus() const
IncidentRecordSummary & WithTitle(TitleT &&value)
AWS_SSMINCIDENTS_API IncidentRecordSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IncidentRecordSummary & WithIncidentRecordSource(IncidentRecordSourceT &&value)
void SetIncidentRecordSource(IncidentRecordSourceT &&value)
IncidentRecordSummary & WithStatus(IncidentRecordStatus value)
bool CreationTimeHasBeenSet() const
bool TitleHasBeenSet() const
const Aws::Utils::DateTime & GetResolvedTime() const
AWS_SSMINCIDENTS_API IncidentRecordSummary()=default
void SetCreationTime(CreationTimeT &&value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ImpactHasBeenSet() const
AWS_SSMINCIDENTS_API IncidentRecordSummary(Aws::Utils::Json::JsonView jsonValue)
void SetResolvedTime(ResolvedTimeT &&value)
bool ArnHasBeenSet() const
void SetImpact(int value)
const Aws::String & GetTitle() const
IncidentRecordSummary & WithResolvedTime(ResolvedTimeT &&value)
const Aws::String & GetArn() const
bool ResolvedTimeHasBeenSet() const
bool IncidentRecordSourceHasBeenSet() const
void SetTitle(TitleT &&value)
IncidentRecordSummary & WithArn(ArnT &&value)
IncidentRecordSummary & WithImpact(int value)
bool StatusHasBeenSet() const
void SetStatus(IncidentRecordStatus value)
void SetArn(ArnT &&value)
IncidentRecordSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue