7#include <aws/health/Health_EXPORTS.h>
8#include <aws/health/model/Event.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
54 inline void SetEvent(
const Event& value) { m_eventHasBeenSet =
true; m_event = value; }
55 inline void SetEvent(
Event&& value) { m_eventHasBeenSet =
true; m_event = std::move(value); }
68 inline void SetEventDescription(
const char* value) { m_eventDescriptionHasBeenSet =
true; m_eventDescription.assign(value); }
90 inline EventDetails&
AddEventMetadata(
const char* key,
const char* value) { m_eventMetadataHasBeenSet =
true; m_eventMetadata.emplace(key, value);
return *
this; }
95 bool m_eventHasBeenSet =
false;
98 bool m_eventDescriptionHasBeenSet =
false;
101 bool m_eventMetadataHasBeenSet =
false;
EventDetails & WithEventMetadata(const Aws::Map< Aws::String, Aws::String > &value)
bool EventMetadataHasBeenSet() const
EventDetails & AddEventMetadata(const Aws::String &key, Aws::String &&value)
EventDetails & WithEvent(Event &&value)
EventDetails & AddEventMetadata(const char *key, Aws::String &&value)
void SetEventMetadata(const Aws::Map< Aws::String, Aws::String > &value)
bool EventHasBeenSet() const
AWS_HEALTH_API EventDetails()
const Aws::String & GetEventDescription() const
EventDetails & WithEvent(const Event &value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvent(Event &&value)
void SetEventMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetEvent(const Event &value)
EventDetails & AddEventMetadata(Aws::String &&key, const char *value)
EventDetails & AddEventMetadata(const Aws::String &key, const Aws::String &value)
void SetEventDescription(const char *value)
bool EventDescriptionHasBeenSet() const
const Event & GetEvent() const
EventDetails & AddEventMetadata(const char *key, const char *value)
AWS_HEALTH_API EventDetails(Aws::Utils::Json::JsonView jsonValue)
EventDetails & AddEventMetadata(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetEventMetadata() const
void SetEventDescription(Aws::String &&value)
EventDetails & WithEventDescription(Aws::String &&value)
AWS_HEALTH_API EventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EventDetails & AddEventMetadata(Aws::String &&key, Aws::String &&value)
EventDetails & WithEventDescription(const Aws::String &value)
void SetEventDescription(const Aws::String &value)
EventDetails & WithEventMetadata(Aws::Map< Aws::String, Aws::String > &&value)
EventDetails & WithEventDescription(const char *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
Aws::Utils::Json::JsonValue JsonValue