7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-incidents/model/PagerDutyIncidentDetail.h>
49 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
50 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
65 inline void SetMetricDefinition(
const char* value) { m_metricDefinitionHasBeenSet =
true; m_metricDefinition.assign(value); }
90 inline void SetUrl(
Aws::String&& value) { m_urlHasBeenSet =
true; m_url = std::move(value); }
91 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
99 bool m_arnHasBeenSet =
false;
102 bool m_metricDefinitionHasBeenSet =
false;
105 bool m_pagerDutyIncidentDetailHasBeenSet =
false;
108 bool m_urlHasBeenSet =
false;
ItemValue & WithMetricDefinition(const Aws::String &value)
ItemValue & WithArn(const Aws::String &value)
ItemValue & WithArn(Aws::String &&value)
void SetMetricDefinition(const char *value)
void SetArn(const Aws::String &value)
void SetUrl(const Aws::String &value)
ItemValue & WithUrl(Aws::String &&value)
const Aws::String & GetMetricDefinition() const
void SetArn(Aws::String &&value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUrl() const
void SetMetricDefinition(Aws::String &&value)
ItemValue & WithArn(const char *value)
ItemValue & WithPagerDutyIncidentDetail(const PagerDutyIncidentDetail &value)
ItemValue & WithMetricDefinition(Aws::String &&value)
ItemValue & WithUrl(const char *value)
AWS_SSMINCIDENTS_API ItemValue()
void SetArn(const char *value)
void SetUrl(const char *value)
const PagerDutyIncidentDetail & GetPagerDutyIncidentDetail() const
bool MetricDefinitionHasBeenSet() const
bool ArnHasBeenSet() const
AWS_SSMINCIDENTS_API ItemValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUrl(Aws::String &&value)
bool UrlHasBeenSet() const
ItemValue & WithMetricDefinition(const char *value)
void SetPagerDutyIncidentDetail(PagerDutyIncidentDetail &&value)
void SetMetricDefinition(const Aws::String &value)
const Aws::String & GetArn() const
ItemValue & WithUrl(const Aws::String &value)
bool PagerDutyIncidentDetailHasBeenSet() const
ItemValue & WithPagerDutyIncidentDetail(PagerDutyIncidentDetail &&value)
void SetPagerDutyIncidentDetail(const PagerDutyIncidentDetail &value)
AWS_SSMINCIDENTS_API ItemValue(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue