/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Resource not found.See Also:
AWS
* API Reference
The name of the resource that is associated with the error.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *The name of the resource that is associated with the error.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *The name of the resource that is associated with the error.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *The name of the resource that is associated with the error.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *The name of the resource that is associated with the error.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *The name of the resource that is associated with the error.
*/ inline ResourceNotFoundException& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *The name of the resource that is associated with the error.
*/ inline ResourceNotFoundException& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *The name of the resource that is associated with the error.
*/ inline ResourceNotFoundException& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *The type of the resource that is associated with the error.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The type of the resource that is associated with the error.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of the resource that is associated with the error.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of the resource that is associated with the error.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of the resource that is associated with the error.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The type of the resource that is associated with the error.
*/ inline ResourceNotFoundException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The type of the resource that is associated with the error.
*/ inline ResourceNotFoundException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The type of the resource that is associated with the error.
*/ inline ResourceNotFoundException& WithResourceType(const char* value) { SetResourceType(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchRUM } // namespace Aws