/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Error information returned when a DescribeEventDetailsForOrganization
* operation can't find a specified event.See Also:
AWS
* API Reference
Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline OrganizationEventDetailsErrorItem& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline OrganizationEventDetailsErrorItem& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *Error information returned when a DescribeEventDetailsForOrganization * operation can't find a specified event.
*/ inline OrganizationEventDetailsErrorItem& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *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 name of the error.
*/ inline const Aws::String& GetErrorName() const{ return m_errorName; } /** *The name of the error.
*/ inline bool ErrorNameHasBeenSet() const { return m_errorNameHasBeenSet; } /** *The name of the error.
*/ inline void SetErrorName(const Aws::String& value) { m_errorNameHasBeenSet = true; m_errorName = value; } /** *The name of the error.
*/ inline void SetErrorName(Aws::String&& value) { m_errorNameHasBeenSet = true; m_errorName = std::move(value); } /** *The name of the error.
*/ inline void SetErrorName(const char* value) { m_errorNameHasBeenSet = true; m_errorName.assign(value); } /** *The name of the error.
*/ inline OrganizationEventDetailsErrorItem& WithErrorName(const Aws::String& value) { SetErrorName(value); return *this;} /** *The name of the error.
*/ inline OrganizationEventDetailsErrorItem& WithErrorName(Aws::String&& value) { SetErrorName(std::move(value)); return *this;} /** *The name of the error.
*/ inline OrganizationEventDetailsErrorItem& WithErrorName(const char* value) { SetErrorName(value); return *this;} /** *A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.
A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.
A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.
A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.
A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.
A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.
A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.
A message that describes the error.
If you call the
* DescribeEventDetailsForOrganization
operation and receive one of
* the following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event * that is account specific, you must enter an Amazon Web Services account ID in * the request.
We couldn't find an account specific event for * the specified Amazon Web Services account. To find an event that is public, you * must enter a null value for the Amazon Web Services account ID in the * request.
Your Amazon Web Services account doesn't include the * Amazon Web Services Support plan required to use the Health API. You must have * either a Business, Enterprise On-Ramp, or Enterprise Support plan.