AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntityType(const Aws::String& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
47 inline void SetEntityType(Aws::String&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
48 inline void SetEntityType(const char* value) { m_entityTypeHasBeenSet = true; m_entityType.assign(value); }
49 inline Entity& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;}
50 inline Entity& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;}
51 inline Entity& WithEntityType(const char* value) { SetEntityType(value); return *this;}
53
55
59 inline const Aws::String& GetEntityId() const{ return m_entityId; }
60 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
61 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
62 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
63 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
64 inline Entity& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
65 inline Entity& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
66 inline Entity& WithEntityId(const char* value) { SetEntityId(value); return *this;}
68 private:
69
70 Aws::String m_entityType;
71 bool m_entityTypeHasBeenSet = false;
72
73 Aws::String m_entityId;
74 bool m_entityIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace FraudDetector
79} // namespace Aws
AWS_FRAUDDETECTOR_API Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
Entity & WithEntityId(Aws::String &&value)
Definition Entity.h:65
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEntityId(Aws::String &&value)
Definition Entity.h:62
AWS_FRAUDDETECTOR_API Entity(Aws::Utils::Json::JsonView jsonValue)
Entity & WithEntityType(const Aws::String &value)
Definition Entity.h:49
void SetEntityType(const Aws::String &value)
Definition Entity.h:46
Entity & WithEntityId(const Aws::String &value)
Definition Entity.h:64
void SetEntityType(const char *value)
Definition Entity.h:48
Entity & WithEntityType(Aws::String &&value)
Definition Entity.h:50
const Aws::String & GetEntityType() const
Definition Entity.h:44
AWS_FRAUDDETECTOR_API Entity()
Entity & WithEntityId(const char *value)
Definition Entity.h:66
void SetEntityType(Aws::String &&value)
Definition Entity.h:47
void SetEntityId(const char *value)
Definition Entity.h:63
Entity & WithEntityType(const char *value)
Definition Entity.h:51
void SetEntityId(const Aws::String &value)
Definition Entity.h:61
const Aws::String & GetEntityId() const
Definition Entity.h:59
bool EntityTypeHasBeenSet() const
Definition Entity.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue