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

The request was denied due to an invalid resource error.

See * Also:

AWS * API Reference

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

The string for the exception.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The string for the exception.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The string for the exception.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

The string for the exception.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

The string for the exception.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

The string for the exception.

*/ inline ResourceNotFoundException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The string for the exception.

*/ inline ResourceNotFoundException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The string for the exception.

*/ inline ResourceNotFoundException& WithResourceId(const char* value) { SetResourceId(value); return *this;} private: Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptography } // namespace Aws