AWS SDK for C++  1.9.14
AWS SDK for C++
Entity.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace FraudDetector
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Entity();
38 
39 
43  inline const Aws::String& GetEntityType() const{ return m_entityType; }
44 
48  inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
49 
53  inline void SetEntityType(const Aws::String& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
54 
58  inline void SetEntityType(Aws::String&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
59 
63  inline void SetEntityType(const char* value) { m_entityTypeHasBeenSet = true; m_entityType.assign(value); }
64 
68  inline Entity& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;}
69 
73  inline Entity& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;}
74 
78  inline Entity& WithEntityType(const char* value) { SetEntityType(value); return *this;}
79 
80 
85  inline const Aws::String& GetEntityId() const{ return m_entityId; }
86 
91  inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
92 
97  inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
98 
103  inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
104 
109  inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
110 
115  inline Entity& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
116 
121  inline Entity& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
122 
127  inline Entity& WithEntityId(const char* value) { SetEntityId(value); return *this;}
128 
129  private:
130 
131  Aws::String m_entityType;
132  bool m_entityTypeHasBeenSet;
133 
134  Aws::String m_entityId;
135  bool m_entityIdHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace FraudDetector
140 } // namespace Aws
Aws::FraudDetector::Model::Entity::WithEntityType
Entity & WithEntityType(const char *value)
Definition: Entity.h:78
Aws::FraudDetector::Model::Entity::EntityTypeHasBeenSet
bool EntityTypeHasBeenSet() const
Definition: Entity.h:48
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::Entity::WithEntityType
Entity & WithEntityType(const Aws::String &value)
Definition: Entity.h:68
Aws::FraudDetector::Model::Entity::Entity
Entity()
Aws::FraudDetector::Model::Entity::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::Entity::WithEntityType
Entity & WithEntityType(Aws::String &&value)
Definition: Entity.h:73
Aws::FraudDetector::Model::Entity::SetEntityType
void SetEntityType(const Aws::String &value)
Definition: Entity.h:53
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::Entity::SetEntityType
void SetEntityType(Aws::String &&value)
Definition: Entity.h:58
Aws::FraudDetector::Model::Entity::SetEntityId
void SetEntityId(const Aws::String &value)
Definition: Entity.h:97
Aws::FraudDetector::Model::Entity
Definition: Entity.h:32
Aws::FraudDetector::Model::Entity::WithEntityId
Entity & WithEntityId(const Aws::String &value)
Definition: Entity.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::Entity::WithEntityId
Entity & WithEntityId(const char *value)
Definition: Entity.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::Entity::EntityIdHasBeenSet
bool EntityIdHasBeenSet() const
Definition: Entity.h:91
Aws::FraudDetector::Model::Entity::operator=
Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Entity::SetEntityType
void SetEntityType(const char *value)
Definition: Entity.h:63
Aws::FraudDetector::Model::Entity::WithEntityId
Entity & WithEntityId(Aws::String &&value)
Definition: Entity.h:121
Aws::FraudDetector::Model::Entity::SetEntityId
void SetEntityId(const char *value)
Definition: Entity.h:109
Aws::FraudDetector::Model::Entity::Entity
Entity(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::Entity::GetEntityType
const Aws::String & GetEntityType() const
Definition: Entity.h:43
Aws::FraudDetector::Model::Entity::SetEntityId
void SetEntityId(Aws::String &&value)
Definition: Entity.h:103
Aws::FraudDetector::Model::Entity::GetEntityId
const Aws::String & GetEntityId() const
Definition: Entity.h:85