7#include <aws/health/Health_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/health/model/Event.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
57 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
67 inline void SetEvent(
const Event& value) { m_eventHasBeenSet =
true; m_event = value; }
68 inline void SetEvent(
Event&& value) { m_eventHasBeenSet =
true; m_event = std::move(value); }
79 inline void SetEventDescription(
const char* value) { m_eventDescriptionHasBeenSet =
true; m_eventDescription.assign(value); }
106 bool m_awsAccountIdHasBeenSet =
false;
109 bool m_eventHasBeenSet =
false;
112 bool m_eventDescriptionHasBeenSet =
false;
115 bool m_eventMetadataHasBeenSet =
false;
OrganizationEventDetails & WithEventMetadata(const Aws::Map< Aws::String, Aws::String > &value)
bool EventHasBeenSet() const
const Aws::String & GetAwsAccountId() const
void SetEventDescription(const Aws::String &value)
const Event & GetEvent() const
OrganizationEventDetails & AddEventMetadata(const char *key, Aws::String &&value)
OrganizationEventDetails & WithEventMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetEventDescription(const char *value)
void SetEventMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetEventMetadata(Aws::Map< Aws::String, Aws::String > &&value)
OrganizationEventDetails & WithEvent(const Event &value)
OrganizationEventDetails & WithEventDescription(Aws::String &&value)
void SetEvent(const Event &value)
void SetAwsAccountId(const char *value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTH_API OrganizationEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AwsAccountIdHasBeenSet() const
AWS_HEALTH_API OrganizationEventDetails(Aws::Utils::Json::JsonView jsonValue)
OrganizationEventDetails & AddEventMetadata(const Aws::String &key, Aws::String &&value)
OrganizationEventDetails & AddEventMetadata(const char *key, const char *value)
void SetEvent(Event &&value)
OrganizationEventDetails & WithEventDescription(const Aws::String &value)
bool EventDescriptionHasBeenSet() const
OrganizationEventDetails & AddEventMetadata(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetEventMetadata() const
OrganizationEventDetails & AddEventMetadata(Aws::String &&key, Aws::String &&value)
AWS_HEALTH_API OrganizationEventDetails()
OrganizationEventDetails & WithAwsAccountId(const char *value)
OrganizationEventDetails & WithEventDescription(const char *value)
OrganizationEventDetails & WithAwsAccountId(const Aws::String &value)
void SetAwsAccountId(Aws::String &&value)
OrganizationEventDetails & WithEvent(Event &&value)
OrganizationEventDetails & AddEventMetadata(const Aws::String &key, const Aws::String &value)
void SetEventDescription(Aws::String &&value)
const Aws::String & GetEventDescription() const
void SetAwsAccountId(const Aws::String &value)
OrganizationEventDetails & WithAwsAccountId(Aws::String &&value)
OrganizationEventDetails & AddEventMetadata(Aws::String &&key, const char *value)
bool EventMetadataHasBeenSet() const
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