/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Error information returned when a DescribeAffectedEntitiesForOrganization
* operation can't find or process a specific entity.See Also:
AWS
* API Reference
The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline OrganizationAffectedEntitiesErrorItem& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline OrganizationAffectedEntitiesErrorItem& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *The 12-digit Amazon Web Services account numbers that contains the affected * entities.
*/ inline OrganizationAffectedEntitiesErrorItem& 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 OrganizationAffectedEntitiesErrorItem& WithErrorName(const Aws::String& value) { SetErrorName(value); return *this;} /** *The name of the error.
*/ inline OrganizationAffectedEntitiesErrorItem& WithErrorName(Aws::String&& value) { SetErrorName(std::move(value)); return *this;} /** *The name of the error.
*/ inline OrganizationAffectedEntitiesErrorItem& WithErrorName(const char* value) { SetErrorName(value); return *this;} /** *A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.
A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.
A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.
A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.
A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.
A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.
A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.
A message that describes the error. Follow the error message and retry your * request.
For example, the InvalidAccountInputError
error
* message appears if you call the
* DescribeAffectedEntitiesForOrganization
operation and specify the
* AccountSpecific
value for the EventScopeCode
* parameter, but don't specify an Amazon Web Services account.