/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A response that includes successful and failed event results.See
* Also:
AWS
* API Reference
The event ID assigned by CloudTrail.
*/ inline const Aws::String& GetEventID() const{ return m_eventID; } /** *The event ID assigned by CloudTrail.
*/ inline bool EventIDHasBeenSet() const { return m_eventIDHasBeenSet; } /** *The event ID assigned by CloudTrail.
*/ inline void SetEventID(const Aws::String& value) { m_eventIDHasBeenSet = true; m_eventID = value; } /** *The event ID assigned by CloudTrail.
*/ inline void SetEventID(Aws::String&& value) { m_eventIDHasBeenSet = true; m_eventID = std::move(value); } /** *The event ID assigned by CloudTrail.
*/ inline void SetEventID(const char* value) { m_eventIDHasBeenSet = true; m_eventID.assign(value); } /** *The event ID assigned by CloudTrail.
*/ inline AuditEventResultEntry& WithEventID(const Aws::String& value) { SetEventID(value); return *this;} /** *The event ID assigned by CloudTrail.
*/ inline AuditEventResultEntry& WithEventID(Aws::String&& value) { SetEventID(std::move(value)); return *this;} /** *The event ID assigned by CloudTrail.
*/ inline AuditEventResultEntry& WithEventID(const char* value) { SetEventID(value); return *this;} /** *The original event ID from the source event.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The original event ID from the source event.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The original event ID from the source event.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The original event ID from the source event.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The original event ID from the source event.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The original event ID from the source event.
*/ inline AuditEventResultEntry& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The original event ID from the source event.
*/ inline AuditEventResultEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The original event ID from the source event.
*/ inline AuditEventResultEntry& WithId(const char* value) { SetId(value); return *this;} private: Aws::String m_eventID; bool m_eventIDHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; }; } // namespace Model } // namespace CloudTrailData } // namespace Aws