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>
55 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
56 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
110 inline void SetDedupeString(
const char* value) { m_dedupeStringHasBeenSet =
true; m_dedupeString.assign(value); }
126 inline void SetImpact(
int value) { m_impactHasBeenSet =
true; m_impact = value; }
150 inline void SetLastModifiedBy(
const char* value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy.assign(value); }
217 inline void SetSummary(
const char* value) { m_summaryHasBeenSet =
true; m_summary.assign(value); }
231 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
239 bool m_arnHasBeenSet =
false;
242 bool m_automationExecutionsHasBeenSet =
false;
245 bool m_chatChannelHasBeenSet =
false;
248 bool m_creationTimeHasBeenSet =
false;
251 bool m_dedupeStringHasBeenSet =
false;
254 bool m_impactHasBeenSet =
false;
257 bool m_incidentRecordSourceHasBeenSet =
false;
260 bool m_lastModifiedByHasBeenSet =
false;
263 bool m_lastModifiedTimeHasBeenSet =
false;
266 bool m_notificationTargetsHasBeenSet =
false;
269 bool m_resolvedTimeHasBeenSet =
false;
272 bool m_statusHasBeenSet =
false;
275 bool m_summaryHasBeenSet =
false;
278 bool m_titleHasBeenSet =
false;
IncidentRecord & WithCreationTime(const Aws::Utils::DateTime &value)
IncidentRecord & WithSummary(const Aws::String &value)
bool DedupeStringHasBeenSet() const
void SetImpact(int value)
IncidentRecord & WithLastModifiedBy(const Aws::String &value)
void SetNotificationTargets(const Aws::Vector< NotificationTargetItem > &value)
IncidentRecord & WithIncidentRecordSource(const IncidentRecordSource &value)
void SetArn(Aws::String &&value)
IncidentRecord & WithLastModifiedBy(Aws::String &&value)
AWS_SSMINCIDENTS_API IncidentRecord()
IncidentRecord & WithNotificationTargets(const Aws::Vector< NotificationTargetItem > &value)
void SetAutomationExecutions(const Aws::Vector< AutomationExecution > &value)
bool LastModifiedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool StatusHasBeenSet() const
void SetTitle(Aws::String &&value)
IncidentRecord & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const IncidentRecordSource & GetIncidentRecordSource() const
bool ResolvedTimeHasBeenSet() const
IncidentRecord & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetSummary(const char *value)
const Aws::String & GetSummary() const
IncidentRecord & WithChatChannel(const ChatChannel &value)
IncidentRecord & WithLastModifiedBy(const char *value)
IncidentRecord & WithTitle(const Aws::String &value)
IncidentRecord & AddNotificationTargets(const NotificationTargetItem &value)
void SetLastModifiedBy(const char *value)
const IncidentRecordStatus & GetStatus() const
AWS_SSMINCIDENTS_API IncidentRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChatChannel(const ChatChannel &value)
void SetArn(const Aws::String &value)
void SetAutomationExecutions(Aws::Vector< AutomationExecution > &&value)
bool ArnHasBeenSet() const
bool IncidentRecordSourceHasBeenSet() const
void SetLastModifiedBy(Aws::String &&value)
bool ImpactHasBeenSet() const
IncidentRecord & WithSummary(const char *value)
IncidentRecord & AddNotificationTargets(NotificationTargetItem &&value)
bool LastModifiedByHasBeenSet() const
IncidentRecord & WithIncidentRecordSource(IncidentRecordSource &&value)
IncidentRecord & WithTitle(Aws::String &&value)
IncidentRecord & WithAutomationExecutions(const Aws::Vector< AutomationExecution > &value)
IncidentRecord & WithChatChannel(ChatChannel &&value)
bool TitleHasBeenSet() const
IncidentRecord & WithArn(Aws::String &&value)
const Aws::Vector< AutomationExecution > & GetAutomationExecutions() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
IncidentRecord & AddAutomationExecutions(const AutomationExecution &value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(const char *value)
IncidentRecord & WithDedupeString(const Aws::String &value)
IncidentRecord & WithAutomationExecutions(Aws::Vector< AutomationExecution > &&value)
void SetTitle(const Aws::String &value)
IncidentRecord & WithArn(const char *value)
bool SummaryHasBeenSet() const
void SetResolvedTime(const Aws::Utils::DateTime &value)
IncidentRecord & WithResolvedTime(const Aws::Utils::DateTime &value)
AWS_SSMINCIDENTS_API IncidentRecord(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(const Aws::String &value)
const Aws::String & GetDedupeString() const
IncidentRecord & AddAutomationExecutions(AutomationExecution &&value)
void SetSummary(Aws::String &&value)
void SetDedupeString(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Vector< NotificationTargetItem > & GetNotificationTargets() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetTitle() const
void SetDedupeString(const Aws::String &value)
const Aws::Utils::DateTime & GetResolvedTime() const
IncidentRecord & WithTitle(const char *value)
const ChatChannel & GetChatChannel() const
void SetStatus(IncidentRecordStatus &&value)
void SetStatus(const IncidentRecordStatus &value)
const Aws::String & GetArn() const
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetLastModifiedBy() const
IncidentRecord & WithNotificationTargets(Aws::Vector< NotificationTargetItem > &&value)
IncidentRecord & WithDedupeString(const char *value)
bool NotificationTargetsHasBeenSet() const
void SetTitle(const char *value)
IncidentRecord & WithSummary(Aws::String &&value)
void SetDedupeString(const char *value)
void SetIncidentRecordSource(IncidentRecordSource &&value)
IncidentRecord & WithCreationTime(Aws::Utils::DateTime &&value)
IncidentRecord & WithStatus(const IncidentRecordStatus &value)
IncidentRecord & WithStatus(IncidentRecordStatus &&value)
const Aws::Utils::DateTime & GetCreationTime() const
IncidentRecord & WithResolvedTime(Aws::Utils::DateTime &&value)
void SetSummary(const Aws::String &value)
bool ChatChannelHasBeenSet() const
bool AutomationExecutionsHasBeenSet() const
IncidentRecord & WithImpact(int value)
bool CreationTimeHasBeenSet() const
void SetChatChannel(ChatChannel &&value)
void SetResolvedTime(Aws::Utils::DateTime &&value)
IncidentRecord & WithArn(const Aws::String &value)
IncidentRecord & WithDedupeString(Aws::String &&value)
void SetIncidentRecordSource(const IncidentRecordSource &value)
void SetNotificationTargets(Aws::Vector< NotificationTargetItem > &&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