7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/health/Health_EXPORTS.h>
10#include <aws/health/model/Event.h>
49 template <
typename AwsAccountIdT = Aws::String>
51 m_awsAccountIdHasBeenSet =
true;
52 m_awsAccountId = std::forward<AwsAccountIdT>(value);
54 template <
typename AwsAccountIdT = Aws::String>
65 template <
typename EventT = Event>
67 m_eventHasBeenSet =
true;
68 m_event = std::forward<EventT>(value);
70 template <
typename EventT = Event>
72 SetEvent(std::forward<EventT>(value));
81 template <
typename EventDescriptionT = Aws::String>
83 m_eventDescriptionHasBeenSet =
true;
84 m_eventDescription = std::forward<EventDescriptionT>(value);
86 template <
typename EventDescriptionT = Aws::String>
99 template <
typename EventMetadataT = Aws::Map<Aws::String, Aws::String>>
101 m_eventMetadataHasBeenSet =
true;
102 m_eventMetadata = std::forward<EventMetadataT>(value);
104 template <
typename EventMetadataT = Aws::Map<Aws::String, Aws::String>>
109 template <
typename EventMetadataKeyT = Aws::String,
typename EventMetadataValueT = Aws::String>
111 m_eventMetadataHasBeenSet =
true;
112 m_eventMetadata.emplace(std::forward<EventMetadataKeyT>(key), std::forward<EventMetadataValueT>(value));
124 bool m_awsAccountIdHasBeenSet =
false;
125 bool m_eventHasBeenSet =
false;
126 bool m_eventDescriptionHasBeenSet =
false;
127 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