/** * 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 FSx { namespace Model { /** *

The resource specified by the Amazon Resource Name (ARN) can't be * found.

See Also:

AWS * API Reference

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

The resource ARN of the resource that can't be found.

*/ inline const Aws::String& GetResourceARN() const{ return m_resourceARN; } /** *

The resource ARN of the resource that can't be found.

*/ inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; } /** *

The resource ARN of the resource that can't be found.

*/ inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; } /** *

The resource ARN of the resource that can't be found.

*/ inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); } /** *

The resource ARN of the resource that can't be found.

*/ inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); } /** *

The resource ARN of the resource that can't be found.

*/ inline ResourceNotFound& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;} /** *

The resource ARN of the resource that can't be found.

*/ inline ResourceNotFound& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;} /** *

The resource ARN of the resource that can't be found.

*/ inline ResourceNotFound& WithResourceARN(const char* value) { SetResourceARN(value); return *this;} inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } inline ResourceNotFound& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline ResourceNotFound& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline ResourceNotFound& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_resourceARN; bool m_resourceARNHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws