/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about an event, returned by the DescribeEventsForOrganization
* operation.See Also:
AWS
* API Reference
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 Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline const Aws::String& GetService() const{ return m_service; } /** *The Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; } /** *The Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; } /** *The Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); } /** *The Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); } /** *The Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline OrganizationEvent& WithService(const Aws::String& value) { SetService(value); return *this;} /** *The Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline OrganizationEvent& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;} /** *The Amazon Web Service that is affected by the event, such as EC2 and * RDS.
*/ inline OrganizationEvent& WithService(const char* value) { SetService(value); return *this;} /** *The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION
. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
A list of event type category codes. Possible values are issue
,
* accountNotification
, or scheduledChange
. Currently,
* the investigation
value isn't supported at this time.
A list of event type category codes. Possible values are issue
,
* accountNotification
, or scheduledChange
. Currently,
* the investigation
value isn't supported at this time.
A list of event type category codes. Possible values are issue
,
* accountNotification
, or scheduledChange
. Currently,
* the investigation
value isn't supported at this time.
A list of event type category codes. Possible values are issue
,
* accountNotification
, or scheduledChange
. Currently,
* the investigation
value isn't supported at this time.
A list of event type category codes. Possible values are issue
,
* accountNotification
, or scheduledChange
. Currently,
* the investigation
value isn't supported at this time.
A list of event type category codes. Possible values are issue
,
* accountNotification
, or scheduledChange
. Currently,
* the investigation
value isn't supported at this time.
This parameter specifies if the Health event is a public Amazon Web Service * event or an account-specific event.
If the
* eventScopeCode
value is PUBLIC
, then the
* affectedAccounts
value is always empty.
If the
* eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
* affectedAccounts
value lists the affected Amazon Web Services
* accounts in your organization. For example, if an event affects a service such
* as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that
* use that service, those account IDs appear in the response.
If
* the eventScopeCode
value is NONE
, then the
* eventArn
that you specified in the request is invalid or doesn't
* exist.
This parameter specifies if the Health event is a public Amazon Web Service * event or an account-specific event.
If the
* eventScopeCode
value is PUBLIC
, then the
* affectedAccounts
value is always empty.
If the
* eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
* affectedAccounts
value lists the affected Amazon Web Services
* accounts in your organization. For example, if an event affects a service such
* as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that
* use that service, those account IDs appear in the response.
If
* the eventScopeCode
value is NONE
, then the
* eventArn
that you specified in the request is invalid or doesn't
* exist.
This parameter specifies if the Health event is a public Amazon Web Service * event or an account-specific event.
If the
* eventScopeCode
value is PUBLIC
, then the
* affectedAccounts
value is always empty.
If the
* eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
* affectedAccounts
value lists the affected Amazon Web Services
* accounts in your organization. For example, if an event affects a service such
* as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that
* use that service, those account IDs appear in the response.
If
* the eventScopeCode
value is NONE
, then the
* eventArn
that you specified in the request is invalid or doesn't
* exist.
This parameter specifies if the Health event is a public Amazon Web Service * event or an account-specific event.
If the
* eventScopeCode
value is PUBLIC
, then the
* affectedAccounts
value is always empty.
If the
* eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
* affectedAccounts
value lists the affected Amazon Web Services
* accounts in your organization. For example, if an event affects a service such
* as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that
* use that service, those account IDs appear in the response.
If
* the eventScopeCode
value is NONE
, then the
* eventArn
that you specified in the request is invalid or doesn't
* exist.
This parameter specifies if the Health event is a public Amazon Web Service * event or an account-specific event.
If the
* eventScopeCode
value is PUBLIC
, then the
* affectedAccounts
value is always empty.
If the
* eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
* affectedAccounts
value lists the affected Amazon Web Services
* accounts in your organization. For example, if an event affects a service such
* as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that
* use that service, those account IDs appear in the response.
If
* the eventScopeCode
value is NONE
, then the
* eventArn
that you specified in the request is invalid or doesn't
* exist.
This parameter specifies if the Health event is a public Amazon Web Service * event or an account-specific event.
If the
* eventScopeCode
value is PUBLIC
, then the
* affectedAccounts
value is always empty.
If the
* eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
* affectedAccounts
value lists the affected Amazon Web Services
* accounts in your organization. For example, if an event affects a service such
* as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that
* use that service, those account IDs appear in the response.
If
* the eventScopeCode
value is NONE
, then the
* eventArn
that you specified in the request is invalid or doesn't
* exist.
The Amazon Web Services Region name of the event.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Amazon Web Services Region name of the event.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Amazon Web Services Region name of the event.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Amazon Web Services Region name of the event.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Amazon Web Services Region name of the event.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Amazon Web Services Region name of the event.
*/ inline OrganizationEvent& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Amazon Web Services Region name of the event.
*/ inline OrganizationEvent& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region name of the event.
*/ inline OrganizationEvent& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The date and time that the event began.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The date and time that the event began.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The date and time that the event began.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The date and time that the event began.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The date and time that the event began.
*/ inline OrganizationEvent& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The date and time that the event began.
*/ inline OrganizationEvent& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The date and time that the event ended.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The date and time that the event ended.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The date and time that the event ended.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The date and time that the event ended.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The date and time that the event ended.
*/ inline OrganizationEvent& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The date and time that the event ended.
*/ inline OrganizationEvent& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The most recent date and time that the event was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The most recent date and time that the event was updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The most recent date and time that the event was updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The most recent date and time that the event was updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The most recent date and time that the event was updated.
*/ inline OrganizationEvent& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The most recent date and time that the event was updated.
*/ inline OrganizationEvent& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The most recent status of the event. Possible values are open
,
* closed
, and upcoming
.
The most recent status of the event. Possible values are open
,
* closed
, and upcoming
.
The most recent status of the event. Possible values are open
,
* closed
, and upcoming
.
The most recent status of the event. Possible values are open
,
* closed
, and upcoming
.
The most recent status of the event. Possible values are open
,
* closed
, and upcoming
.
The most recent status of the event. Possible values are open
,
* closed
, and upcoming
.