/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Amazon Web Services resource event. Amazon Web Services resource events
* and metrics are analyzed by DevOps Guru to find anomalous behavior and provide
* recommendations to improve your operational solutions. See Also:
* AWS
* API Reference
The ID of the event.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the event.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the event.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the event.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the event.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the event.
*/ inline Event& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the event.
*/ inline Event& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the event.
*/ inline Event& WithId(const char* value) { SetId(value); return *this;} /** * A Timestamp
that specifies the time the event occurred.
A Timestamp
that specifies the time the event occurred.
A Timestamp
that specifies the time the event occurred.
A Timestamp
that specifies the time the event occurred.
A Timestamp
that specifies the time the event occurred.
A Timestamp
that specifies the time the event occurred.
The Amazon Web Services source that emitted the event.
*/ inline const Aws::String& GetEventSource() const{ return m_eventSource; } /** *The Amazon Web Services source that emitted the event.
*/ inline bool EventSourceHasBeenSet() const { return m_eventSourceHasBeenSet; } /** *The Amazon Web Services source that emitted the event.
*/ inline void SetEventSource(const Aws::String& value) { m_eventSourceHasBeenSet = true; m_eventSource = value; } /** *The Amazon Web Services source that emitted the event.
*/ inline void SetEventSource(Aws::String&& value) { m_eventSourceHasBeenSet = true; m_eventSource = std::move(value); } /** *The Amazon Web Services source that emitted the event.
*/ inline void SetEventSource(const char* value) { m_eventSourceHasBeenSet = true; m_eventSource.assign(value); } /** *The Amazon Web Services source that emitted the event.
*/ inline Event& WithEventSource(const Aws::String& value) { SetEventSource(value); return *this;} /** *The Amazon Web Services source that emitted the event.
*/ inline Event& WithEventSource(Aws::String&& value) { SetEventSource(std::move(value)); return *this;} /** *The Amazon Web Services source that emitted the event.
*/ inline Event& WithEventSource(const char* value) { SetEventSource(value); return *this;} /** *The name of the event.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the event.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the event.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the event.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the event.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the event.
*/ inline Event& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the event.
*/ inline Event& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the event.
*/ inline Event& WithName(const char* value) { SetName(value); return *this;} /** * The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
,
* where DevOps Guru analysis found the event.
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
,
* where DevOps Guru analysis found the event.
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
,
* where DevOps Guru analysis found the event.
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
,
* where DevOps Guru analysis found the event.
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
,
* where DevOps Guru analysis found the event.
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
,
* where DevOps Guru analysis found the event.
The class of the event. The class specifies what the event is related to, * such as an infrastructure change, a deployment, or a schema change.
*/ inline const EventClass& GetEventClass() const{ return m_eventClass; } /** *The class of the event. The class specifies what the event is related to, * such as an infrastructure change, a deployment, or a schema change.
*/ inline bool EventClassHasBeenSet() const { return m_eventClassHasBeenSet; } /** *The class of the event. The class specifies what the event is related to, * such as an infrastructure change, a deployment, or a schema change.
*/ inline void SetEventClass(const EventClass& value) { m_eventClassHasBeenSet = true; m_eventClass = value; } /** *The class of the event. The class specifies what the event is related to, * such as an infrastructure change, a deployment, or a schema change.
*/ inline void SetEventClass(EventClass&& value) { m_eventClassHasBeenSet = true; m_eventClass = std::move(value); } /** *The class of the event. The class specifies what the event is related to, * such as an infrastructure change, a deployment, or a schema change.
*/ inline Event& WithEventClass(const EventClass& value) { SetEventClass(value); return *this;} /** *The class of the event. The class specifies what the event is related to, * such as an infrastructure change, a deployment, or a schema change.
*/ inline Event& WithEventClass(EventClass&& value) { SetEventClass(std::move(value)); return *this;} /** * An EventResource
object that contains information about the
* resource that emitted the event.
An EventResource
object that contains information about the
* resource that emitted the event.
An EventResource
object that contains information about the
* resource that emitted the event.
An EventResource
object that contains information about the
* resource that emitted the event.
An EventResource
object that contains information about the
* resource that emitted the event.
An EventResource
object that contains information about the
* resource that emitted the event.
An EventResource
object that contains information about the
* resource that emitted the event.
An EventResource
object that contains information about the
* resource that emitted the event.