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

The operation tried to access a keyspace or table that doesn't exist. The * resource might not be specified correctly, or its status might not be * ACTIVE.

See Also:

AWS * API Reference

*/ class ResourceNotFoundException { public: AWS_KEYSPACES_API ResourceNotFoundException(); AWS_KEYSPACES_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue); AWS_KEYSPACES_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const; 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 ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

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

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

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

The unique identifier in the format of Amazon Resource Name (ARN), for the * resource not found.

*/ inline ResourceNotFoundException& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws