/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an entity that is affected by a Health event.See
* Also:
AWS
* API Reference
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the entity. Format:
* arn:aws:health:entity-region:aws-account:entity/entity-id
*
. Example:
* arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The unique identifier for the event. The event ARN has the
* arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
*
format.
For example, an event ARN might look like the * following:
* arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
*
The ID of the affected entity.
*/ inline const Aws::String& GetEntityValue() const{ return m_entityValue; } /** *The ID of the affected entity.
*/ inline bool EntityValueHasBeenSet() const { return m_entityValueHasBeenSet; } /** *The ID of the affected entity.
*/ inline void SetEntityValue(const Aws::String& value) { m_entityValueHasBeenSet = true; m_entityValue = value; } /** *The ID of the affected entity.
*/ inline void SetEntityValue(Aws::String&& value) { m_entityValueHasBeenSet = true; m_entityValue = std::move(value); } /** *The ID of the affected entity.
*/ inline void SetEntityValue(const char* value) { m_entityValueHasBeenSet = true; m_entityValue.assign(value); } /** *The ID of the affected entity.
*/ inline AffectedEntity& WithEntityValue(const Aws::String& value) { SetEntityValue(value); return *this;} /** *The ID of the affected entity.
*/ inline AffectedEntity& WithEntityValue(Aws::String&& value) { SetEntityValue(std::move(value)); return *this;} /** *The ID of the affected entity.
*/ inline AffectedEntity& WithEntityValue(const char* value) { SetEntityValue(value); return *this;} /** *The URL of the affected entity.
*/ inline const Aws::String& GetEntityUrl() const{ return m_entityUrl; } /** *The URL of the affected entity.
*/ inline bool EntityUrlHasBeenSet() const { return m_entityUrlHasBeenSet; } /** *The URL of the affected entity.
*/ inline void SetEntityUrl(const Aws::String& value) { m_entityUrlHasBeenSet = true; m_entityUrl = value; } /** *The URL of the affected entity.
*/ inline void SetEntityUrl(Aws::String&& value) { m_entityUrlHasBeenSet = true; m_entityUrl = std::move(value); } /** *The URL of the affected entity.
*/ inline void SetEntityUrl(const char* value) { m_entityUrlHasBeenSet = true; m_entityUrl.assign(value); } /** *The URL of the affected entity.
*/ inline AffectedEntity& WithEntityUrl(const Aws::String& value) { SetEntityUrl(value); return *this;} /** *The URL of the affected entity.
*/ inline AffectedEntity& WithEntityUrl(Aws::String&& value) { SetEntityUrl(std::move(value)); return *this;} /** *The URL of the affected entity.
*/ inline AffectedEntity& WithEntityUrl(const char* value) { SetEntityUrl(value); return *this;} /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline AffectedEntity& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline AffectedEntity& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *The 12-digit Amazon Web Services account number that contains the affected * entity.
*/ inline AffectedEntity& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *The most recent time that the entity was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The most recent time that the entity was updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The most recent time that the entity was updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The most recent time that the entity was updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The most recent time that the entity was updated.
*/ inline AffectedEntity& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The most recent time that the entity was updated.
*/ inline AffectedEntity& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The most recent status of the entity affected by the event. The possible
* values are IMPAIRED
, UNIMPAIRED
, and
* UNKNOWN
.
The most recent status of the entity affected by the event. The possible
* values are IMPAIRED
, UNIMPAIRED
, and
* UNKNOWN
.
The most recent status of the entity affected by the event. The possible
* values are IMPAIRED
, UNIMPAIRED
, and
* UNKNOWN
.
The most recent status of the entity affected by the event. The possible
* values are IMPAIRED
, UNIMPAIRED
, and
* UNKNOWN
.
The most recent status of the entity affected by the event. The possible
* values are IMPAIRED
, UNIMPAIRED
, and
* UNKNOWN
.
The most recent status of the entity affected by the event. The possible
* values are IMPAIRED
, UNIMPAIRED
, and
* UNKNOWN
.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.
A map of entity tags attached to the affected entity.
*Currently, the tags
property isn't supported.