/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detailed information about an event. A combination of an Event
* object, an EventDescription
* object, and additional metadata about the event. Returned by the DescribeEventDetailsForOrganization
* operation.See Also:
AWS
* API Reference
The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline OrganizationEventDetails& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline OrganizationEventDetails& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline OrganizationEventDetails& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} inline const Event& GetEvent() const{ return m_event; } inline bool EventHasBeenSet() const { return m_eventHasBeenSet; } inline void SetEvent(const Event& value) { m_eventHasBeenSet = true; m_event = value; } inline void SetEvent(Event&& value) { m_eventHasBeenSet = true; m_event = std::move(value); } inline OrganizationEventDetails& WithEvent(const Event& value) { SetEvent(value); return *this;} inline OrganizationEventDetails& WithEvent(Event&& value) { SetEvent(std::move(value)); return *this;} inline const Aws::String& GetEventDescription() const{ return m_eventDescription; } inline bool EventDescriptionHasBeenSet() const { return m_eventDescriptionHasBeenSet; } inline void SetEventDescription(const Aws::String& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = value; } inline void SetEventDescription(Aws::String&& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = std::move(value); } inline void SetEventDescription(const char* value) { m_eventDescriptionHasBeenSet = true; m_eventDescription.assign(value); } inline OrganizationEventDetails& WithEventDescription(const Aws::String& value) { SetEventDescription(value); return *this;} inline OrganizationEventDetails& WithEventDescription(Aws::String&& value) { SetEventDescription(std::move(value)); return *this;} inline OrganizationEventDetails& WithEventDescription(const char* value) { SetEventDescription(value); return *this;} /** *Additional metadata about the event.
*/ inline const Aws::MapAdditional metadata about the event.
*/ inline bool EventMetadataHasBeenSet() const { return m_eventMetadataHasBeenSet; } /** *Additional metadata about the event.
*/ inline void SetEventMetadata(const Aws::MapAdditional metadata about the event.
*/ inline void SetEventMetadata(Aws::MapAdditional metadata about the event.
*/ inline OrganizationEventDetails& WithEventMetadata(const Aws::MapAdditional metadata about the event.
*/ inline OrganizationEventDetails& WithEventMetadata(Aws::MapAdditional metadata about the event.
*/ inline OrganizationEventDetails& AddEventMetadata(const Aws::String& key, const Aws::String& value) { m_eventMetadataHasBeenSet = true; m_eventMetadata.emplace(key, value); return *this; } /** *Additional metadata about the event.
*/ inline OrganizationEventDetails& AddEventMetadata(Aws::String&& key, const Aws::String& value) { m_eventMetadataHasBeenSet = true; m_eventMetadata.emplace(std::move(key), value); return *this; } /** *Additional metadata about the event.
*/ inline OrganizationEventDetails& AddEventMetadata(const Aws::String& key, Aws::String&& value) { m_eventMetadataHasBeenSet = true; m_eventMetadata.emplace(key, std::move(value)); return *this; } /** *Additional metadata about the event.
*/ inline OrganizationEventDetails& AddEventMetadata(Aws::String&& key, Aws::String&& value) { m_eventMetadataHasBeenSet = true; m_eventMetadata.emplace(std::move(key), std::move(value)); return *this; } /** *Additional metadata about the event.
*/ inline OrganizationEventDetails& AddEventMetadata(const char* key, Aws::String&& value) { m_eventMetadataHasBeenSet = true; m_eventMetadata.emplace(key, std::move(value)); return *this; } /** *Additional metadata about the event.
*/ inline OrganizationEventDetails& AddEventMetadata(Aws::String&& key, const char* value) { m_eventMetadataHasBeenSet = true; m_eventMetadata.emplace(std::move(key), value); return *this; } /** *Additional metadata about the event.
*/ inline OrganizationEventDetails& AddEventMetadata(const char* key, const char* value) { m_eventMetadataHasBeenSet = true; m_eventMetadata.emplace(key, value); return *this; } private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Event m_event; bool m_eventHasBeenSet = false; Aws::String m_eventDescription; bool m_eventDescriptionHasBeenSet = false; Aws::Map