7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetRelatedItemId(
const char* value) { m_relatedItemIdHasBeenSet =
true; m_relatedItemId.assign(value); }
67 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
75 bool m_relatedItemIdHasBeenSet =
false;
78 bool m_resourceHasBeenSet =
false;
EventReference & WithRelatedItemId(const char *value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResource(const char *value)
EventReference & WithResource(Aws::String &&value)
AWS_SSMINCIDENTS_API EventReference()
void SetRelatedItemId(const char *value)
void SetResource(const Aws::String &value)
AWS_SSMINCIDENTS_API EventReference & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRelatedItemId() const
EventReference & WithRelatedItemId(const Aws::String &value)
bool ResourceHasBeenSet() const
bool RelatedItemIdHasBeenSet() const
EventReference & WithResource(const Aws::String &value)
EventReference & WithRelatedItemId(Aws::String &&value)
AWS_SSMINCIDENTS_API EventReference(Aws::Utils::Json::JsonView jsonValue)
void SetRelatedItemId(const Aws::String &value)
void SetResource(Aws::String &&value)
const Aws::String & GetResource() const
EventReference & WithResource(const char *value)
void SetRelatedItemId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue