AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Entity.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FraudDetector
22{
23namespace Model
24{
25
31 class Entity
32 {
33 public:
34 AWS_FRAUDDETECTOR_API Entity() = default;
35 AWS_FRAUDDETECTOR_API Entity(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FRAUDDETECTOR_API Entity& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetEntityType() const { return m_entityType; }
45 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
46 template<typename EntityTypeT = Aws::String>
47 void SetEntityType(EntityTypeT&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::forward<EntityTypeT>(value); }
48 template<typename EntityTypeT = Aws::String>
49 Entity& WithEntityType(EntityTypeT&& value) { SetEntityType(std::forward<EntityTypeT>(value)); return *this;}
51
53
57 inline const Aws::String& GetEntityId() const { return m_entityId; }
58 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
59 template<typename EntityIdT = Aws::String>
60 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
61 template<typename EntityIdT = Aws::String>
62 Entity& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
64 private:
65
66 Aws::String m_entityType;
67 bool m_entityTypeHasBeenSet = false;
68
69 Aws::String m_entityId;
70 bool m_entityIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace FraudDetector
75} // namespace Aws
AWS_FRAUDDETECTOR_API Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Entity()=default
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API Entity(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEntityType() const
Definition Entity.h:44
Entity & WithEntityType(EntityTypeT &&value)
Definition Entity.h:49
void SetEntityType(EntityTypeT &&value)
Definition Entity.h:47
void SetEntityId(EntityIdT &&value)
Definition Entity.h:60
Entity & WithEntityId(EntityIdT &&value)
Definition Entity.h:62
const Aws::String & GetEntityId() const
Definition Entity.h:57
bool EntityTypeHasBeenSet() const
Definition Entity.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue