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

The resource does not exist.

See Also:

AWS * API Reference

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

The IDs of the non-existent resources.

*/ inline const Aws::Vector& GetEntityIds() const{ return m_entityIds; } /** *

The IDs of the non-existent resources.

*/ inline bool EntityIdsHasBeenSet() const { return m_entityIdsHasBeenSet; } /** *

The IDs of the non-existent resources.

*/ inline void SetEntityIds(const Aws::Vector& value) { m_entityIdsHasBeenSet = true; m_entityIds = value; } /** *

The IDs of the non-existent resources.

*/ inline void SetEntityIds(Aws::Vector&& value) { m_entityIdsHasBeenSet = true; m_entityIds = std::move(value); } /** *

The IDs of the non-existent resources.

*/ inline EntityNotExistsException& WithEntityIds(const Aws::Vector& value) { SetEntityIds(value); return *this;} /** *

The IDs of the non-existent resources.

*/ inline EntityNotExistsException& WithEntityIds(Aws::Vector&& value) { SetEntityIds(std::move(value)); return *this;} /** *

The IDs of the non-existent resources.

*/ inline EntityNotExistsException& AddEntityIds(const Aws::String& value) { m_entityIdsHasBeenSet = true; m_entityIds.push_back(value); return *this; } /** *

The IDs of the non-existent resources.

*/ inline EntityNotExistsException& AddEntityIds(Aws::String&& value) { m_entityIdsHasBeenSet = true; m_entityIds.push_back(std::move(value)); return *this; } /** *

The IDs of the non-existent resources.

*/ inline EntityNotExistsException& AddEntityIds(const char* value) { m_entityIdsHasBeenSet = true; m_entityIds.push_back(value); return *this; } private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Vector m_entityIds; bool m_entityIdsHasBeenSet = false; }; } // namespace Model } // namespace WorkDocs } // namespace Aws