7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm-incidents/model/NotificationTargetItem.h>
62 inline void SetDedupeString(
const char* value) { m_dedupeStringHasBeenSet =
true; m_dedupeString.assign(value); }
78 inline void SetImpact(
int value) { m_impactHasBeenSet =
true; m_impact = value; }
127 inline void SetSummary(
const char* value) { m_summaryHasBeenSet =
true; m_summary.assign(value); }
141 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
149 bool m_dedupeStringHasBeenSet =
false;
152 bool m_impactHasBeenSet =
false;
155 bool m_incidentTagsHasBeenSet =
false;
158 bool m_notificationTargetsHasBeenSet =
false;
161 bool m_summaryHasBeenSet =
false;
164 bool m_titleHasBeenSet =
false;
IncidentTemplate & WithNotificationTargets(const Aws::Vector< NotificationTargetItem > &value)
bool TitleHasBeenSet() const
IncidentTemplate & AddNotificationTargets(NotificationTargetItem &&value)
IncidentTemplate & AddIncidentTags(Aws::String &&key, const char *value)
IncidentTemplate & WithDedupeString(const char *value)
void SetNotificationTargets(const Aws::Vector< NotificationTargetItem > &value)
void SetIncidentTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SSMINCIDENTS_API IncidentTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetIncidentTags(const Aws::Map< Aws::String, Aws::String > &value)
IncidentTemplate & AddIncidentTags(Aws::String &&key, const Aws::String &value)
void SetTitle(Aws::String &&value)
const Aws::Vector< NotificationTargetItem > & GetNotificationTargets() const
void SetSummary(const Aws::String &value)
const Aws::String & GetDedupeString() const
const Aws::Map< Aws::String, Aws::String > & GetIncidentTags() const
AWS_SSMINCIDENTS_API IncidentTemplate()
IncidentTemplate & WithSummary(Aws::String &&value)
void SetSummary(Aws::String &&value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
IncidentTemplate & WithIncidentTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SSMINCIDENTS_API IncidentTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
IncidentTemplate & WithSummary(const char *value)
IncidentTemplate & WithTitle(const Aws::String &value)
IncidentTemplate & WithNotificationTargets(Aws::Vector< NotificationTargetItem > &&value)
IncidentTemplate & AddNotificationTargets(const NotificationTargetItem &value)
IncidentTemplate & WithTitle(Aws::String &&value)
IncidentTemplate & AddIncidentTags(const char *key, Aws::String &&value)
void SetSummary(const char *value)
void SetTitle(const char *value)
bool DedupeStringHasBeenSet() const
bool NotificationTargetsHasBeenSet() const
IncidentTemplate & AddIncidentTags(Aws::String &&key, Aws::String &&value)
bool ImpactHasBeenSet() const
IncidentTemplate & WithIncidentTags(const Aws::Map< Aws::String, Aws::String > &value)
IncidentTemplate & WithDedupeString(const Aws::String &value)
bool SummaryHasBeenSet() const
IncidentTemplate & AddIncidentTags(const char *key, const char *value)
const Aws::String & GetSummary() const
bool IncidentTagsHasBeenSet() const
void SetDedupeString(Aws::String &&value)
void SetImpact(int value)
void SetNotificationTargets(Aws::Vector< NotificationTargetItem > &&value)
IncidentTemplate & WithSummary(const Aws::String &value)
const Aws::String & GetTitle() const
IncidentTemplate & WithImpact(int value)
IncidentTemplate & AddIncidentTags(const Aws::String &key, Aws::String &&value)
IncidentTemplate & WithTitle(const char *value)
IncidentTemplate & AddIncidentTags(const Aws::String &key, const Aws::String &value)
void SetTitle(const Aws::String &value)
void SetDedupeString(const char *value)
void SetDedupeString(const Aws::String &value)
IncidentTemplate & WithDedupeString(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue