/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ResilienceHub { namespace Model { /** *

Defines a resource that is not supported by Resilience Hub.

See * Also:

AWS * API Reference

*/ class UnsupportedResource { public: AWS_RESILIENCEHUB_API UnsupportedResource(); AWS_RESILIENCEHUB_API UnsupportedResource(Aws::Utils::Json::JsonView jsonValue); AWS_RESILIENCEHUB_API UnsupportedResource& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The logical resource identifier for the unsupported resource.

*/ inline const LogicalResourceId& GetLogicalResourceId() const{ return m_logicalResourceId; } /** *

The logical resource identifier for the unsupported resource.

*/ inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; } /** *

The logical resource identifier for the unsupported resource.

*/ inline void SetLogicalResourceId(const LogicalResourceId& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; } /** *

The logical resource identifier for the unsupported resource.

*/ inline void SetLogicalResourceId(LogicalResourceId&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); } /** *

The logical resource identifier for the unsupported resource.

*/ inline UnsupportedResource& WithLogicalResourceId(const LogicalResourceId& value) { SetLogicalResourceId(value); return *this;} /** *

The logical resource identifier for the unsupported resource.

*/ inline UnsupportedResource& WithLogicalResourceId(LogicalResourceId&& value) { SetLogicalResourceId(std::move(value)); return *this;} /** *

The physical resource identifier for the unsupported resource.

*/ inline const PhysicalResourceId& GetPhysicalResourceId() const{ return m_physicalResourceId; } /** *

The physical resource identifier for the unsupported resource.

*/ inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; } /** *

The physical resource identifier for the unsupported resource.

*/ inline void SetPhysicalResourceId(const PhysicalResourceId& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; } /** *

The physical resource identifier for the unsupported resource.

*/ inline void SetPhysicalResourceId(PhysicalResourceId&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); } /** *

The physical resource identifier for the unsupported resource.

*/ inline UnsupportedResource& WithPhysicalResourceId(const PhysicalResourceId& value) { SetPhysicalResourceId(value); return *this;} /** *

The physical resource identifier for the unsupported resource.

*/ inline UnsupportedResource& WithPhysicalResourceId(PhysicalResourceId&& value) { SetPhysicalResourceId(std::move(value)); return *this;} /** *

The type of resource.

*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *

The type of resource.

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

The type of resource.

*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

The type of resource.

*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

The type of resource.

*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *

The type of resource.

*/ inline UnsupportedResource& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *

The type of resource.

*/ inline UnsupportedResource& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *

The type of resource.

*/ inline UnsupportedResource& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *

The status of the unsupported resource.

*/ inline const Aws::String& GetUnsupportedResourceStatus() const{ return m_unsupportedResourceStatus; } /** *

The status of the unsupported resource.

*/ inline bool UnsupportedResourceStatusHasBeenSet() const { return m_unsupportedResourceStatusHasBeenSet; } /** *

The status of the unsupported resource.

*/ inline void SetUnsupportedResourceStatus(const Aws::String& value) { m_unsupportedResourceStatusHasBeenSet = true; m_unsupportedResourceStatus = value; } /** *

The status of the unsupported resource.

*/ inline void SetUnsupportedResourceStatus(Aws::String&& value) { m_unsupportedResourceStatusHasBeenSet = true; m_unsupportedResourceStatus = std::move(value); } /** *

The status of the unsupported resource.

*/ inline void SetUnsupportedResourceStatus(const char* value) { m_unsupportedResourceStatusHasBeenSet = true; m_unsupportedResourceStatus.assign(value); } /** *

The status of the unsupported resource.

*/ inline UnsupportedResource& WithUnsupportedResourceStatus(const Aws::String& value) { SetUnsupportedResourceStatus(value); return *this;} /** *

The status of the unsupported resource.

*/ inline UnsupportedResource& WithUnsupportedResourceStatus(Aws::String&& value) { SetUnsupportedResourceStatus(std::move(value)); return *this;} /** *

The status of the unsupported resource.

*/ inline UnsupportedResource& WithUnsupportedResourceStatus(const char* value) { SetUnsupportedResourceStatus(value); return *this;} private: LogicalResourceId m_logicalResourceId; bool m_logicalResourceIdHasBeenSet = false; PhysicalResourceId m_physicalResourceId; bool m_physicalResourceIdHasBeenSet = false; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_unsupportedResourceStatus; bool m_unsupportedResourceStatusHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws