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>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
75 inline void SetImpact(
int value) { m_impactHasBeenSet =
true; m_impact = value; }
124 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
132 bool m_arnHasBeenSet =
false;
135 bool m_creationTimeHasBeenSet =
false;
138 bool m_impactHasBeenSet =
false;
141 bool m_incidentRecordSourceHasBeenSet =
false;
144 bool m_resolvedTimeHasBeenSet =
false;
147 bool m_statusHasBeenSet =
false;
150 bool m_titleHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationTime() const
const IncidentRecordSource & GetIncidentRecordSource() const
void SetIncidentRecordSource(const IncidentRecordSource &value)
void SetArn(const char *value)
IncidentRecordSummary & WithArn(Aws::String &&value)
AWS_SSMINCIDENTS_API IncidentRecordSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IncidentRecordSummary & WithResolvedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
IncidentRecordSummary & WithStatus(IncidentRecordStatus &&value)
IncidentRecordSummary & WithTitle(Aws::String &&value)
bool CreationTimeHasBeenSet() const
IncidentRecordSummary & WithIncidentRecordSource(const IncidentRecordSource &value)
bool TitleHasBeenSet() const
IncidentRecordSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetResolvedTime() const
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
IncidentRecordSummary & WithTitle(const Aws::String &value)
void SetStatus(IncidentRecordStatus &&value)
bool ImpactHasBeenSet() const
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_SSMINCIDENTS_API IncidentRecordSummary(Aws::Utils::Json::JsonView jsonValue)
void SetIncidentRecordSource(IncidentRecordSource &&value)
bool ArnHasBeenSet() const
void SetImpact(int value)
void SetTitle(const char *value)
AWS_SSMINCIDENTS_API IncidentRecordSummary()
void SetTitle(const Aws::String &value)
void SetArn(Aws::String &&value)
const Aws::String & GetTitle() const
IncidentRecordSummary & WithResolvedTime(const Aws::Utils::DateTime &value)
void SetResolvedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
bool ResolvedTimeHasBeenSet() const
IncidentRecordSummary & WithArn(const char *value)
bool IncidentRecordSourceHasBeenSet() const
void SetArn(const Aws::String &value)
const IncidentRecordStatus & GetStatus() const
void SetTitle(Aws::String &&value)
IncidentRecordSummary & WithTitle(const char *value)
IncidentRecordSummary & WithImpact(int value)
void SetStatus(const IncidentRecordStatus &value)
bool StatusHasBeenSet() const
void SetResolvedTime(const Aws::Utils::DateTime &value)
IncidentRecordSummary & WithStatus(const IncidentRecordStatus &value)
IncidentRecordSummary & WithCreationTime(const Aws::Utils::DateTime &value)
IncidentRecordSummary & WithIncidentRecordSource(IncidentRecordSource &&value)
IncidentRecordSummary & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue