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>
55 template<
typename AwsAccountIdT = Aws::String>
56 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
57 template<
typename AwsAccountIdT = Aws::String>
65 template<
typename EventT = Event>
66 void SetEvent(EventT&& value) { m_eventHasBeenSet =
true; m_event = std::forward<EventT>(value); }
67 template<
typename EventT = Event>
75 template<
typename EventDescriptionT = Aws::String>
76 void SetEventDescription(EventDescriptionT&& value) { m_eventDescriptionHasBeenSet =
true; m_eventDescription = std::forward<EventDescriptionT>(value); }
77 template<
typename EventDescriptionT = Aws::String>
87 template<
typename EventMetadataT = Aws::Map<Aws::String, Aws::String>>
88 void SetEventMetadata(EventMetadataT&& value) { m_eventMetadataHasBeenSet =
true; m_eventMetadata = std::forward<EventMetadataT>(value); }
89 template<
typename EventMetadataT = Aws::Map<Aws::String, Aws::String>>
91 template<
typename EventMetadataKeyT = Aws::String,
typename EventMetadataValueT = Aws::String>
93 m_eventMetadataHasBeenSet =
true; m_eventMetadata.emplace(std::forward<EventMetadataKeyT>(key), std::forward<EventMetadataValueT>(value));
return *
this;
99 bool m_awsAccountIdHasBeenSet =
false;
102 bool m_eventHasBeenSet =
false;
105 bool m_eventDescriptionHasBeenSet =
false;
108 bool m_eventMetadataHasBeenSet =
false;
bool EventHasBeenSet() const
const Aws::String & GetAwsAccountId() const
const Event & GetEvent() const
OrganizationEventDetails & WithEvent(EventT &&value)
void SetEventMetadata(EventMetadataT &&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)
AWS_HEALTH_API OrganizationEventDetails()=default
OrganizationEventDetails & WithEventDescription(EventDescriptionT &&value)
bool EventDescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEventMetadata() const
OrganizationEventDetails & WithEventMetadata(EventMetadataT &&value)
void SetEvent(EventT &&value)
void SetAwsAccountId(AwsAccountIdT &&value)
OrganizationEventDetails & WithAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetEventDescription() const
void SetEventDescription(EventDescriptionT &&value)
OrganizationEventDetails & AddEventMetadata(EventMetadataKeyT &&key, EventMetadataValueT &&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