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

The entity details.

See Also:

AWS * API Reference

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

The entity type.

*/ inline const Aws::String& GetEntityType() const{ return m_entityType; } /** *

The entity type.

*/ inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; } /** *

The entity type.

*/ inline void SetEntityType(const Aws::String& value) { m_entityTypeHasBeenSet = true; m_entityType = value; } /** *

The entity type.

*/ inline void SetEntityType(Aws::String&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); } /** *

The entity type.

*/ inline void SetEntityType(const char* value) { m_entityTypeHasBeenSet = true; m_entityType.assign(value); } /** *

The entity type.

*/ inline Entity& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;} /** *

The entity type.

*/ inline Entity& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;} /** *

The entity type.

*/ inline Entity& WithEntityType(const char* value) { SetEntityType(value); return *this;} /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline const Aws::String& GetEntityId() const{ return m_entityId; } /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; } /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; } /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); } /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); } /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline Entity& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;} /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline Entity& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;} /** *

The entity ID. If you do not know the entityId, you can pass * unknown, which is areserved string literal.

*/ inline Entity& WithEntityId(const char* value) { SetEntityId(value); return *this;} private: Aws::String m_entityType; bool m_entityTypeHasBeenSet = false; Aws::String m_entityId; bool m_entityIdHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws