AWS SDK for C++  1.9.20
AWS SDK for C++
EntityType.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:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline EntityType& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline EntityType& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline EntityType& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline EntityType& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline EntityType& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline EntityType& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121 
125  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
126 
130  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
131 
135  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
136 
140  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
141 
145  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
146 
150  inline EntityType& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
151 
155  inline EntityType& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
156 
160  inline EntityType& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
161 
162 
166  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
167 
171  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
172 
176  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
177 
181  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
182 
186  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
187 
191  inline EntityType& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
192 
196  inline EntityType& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
197 
201  inline EntityType& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
202 
203 
207  inline const Aws::String& GetArn() const{ return m_arn; }
208 
212  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
213 
217  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
218 
222  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
223 
227  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
228 
232  inline EntityType& WithArn(const Aws::String& value) { SetArn(value); return *this;}
233 
237  inline EntityType& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
238 
242  inline EntityType& WithArn(const char* value) { SetArn(value); return *this;}
243 
244  private:
245 
246  Aws::String m_name;
247  bool m_nameHasBeenSet;
248 
249  Aws::String m_description;
250  bool m_descriptionHasBeenSet;
251 
252  Aws::String m_lastUpdatedTime;
253  bool m_lastUpdatedTimeHasBeenSet;
254 
255  Aws::String m_createdTime;
256  bool m_createdTimeHasBeenSet;
257 
258  Aws::String m_arn;
259  bool m_arnHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace FraudDetector
264 } // namespace Aws
Aws::FraudDetector::Model::EntityType::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: EntityType.h:171
Aws::FraudDetector::Model::EntityType::SetName
void SetName(Aws::String &&value)
Definition: EntityType.h:58
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::EntityType::WithCreatedTime
EntityType & WithCreatedTime(Aws::String &&value)
Definition: EntityType.h:196
Aws::FraudDetector::Model::EntityType::WithCreatedTime
EntityType & WithCreatedTime(const Aws::String &value)
Definition: EntityType.h:191
Aws::FraudDetector::Model::EntityType::WithName
EntityType & WithName(Aws::String &&value)
Definition: EntityType.h:73
Aws::FraudDetector::Model::EntityType::WithDescription
EntityType & WithDescription(const Aws::String &value)
Definition: EntityType.h:109
Aws::FraudDetector::Model::EntityType::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: EntityType.h:181
Aws::FraudDetector::Model::EntityType::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: EntityType.h:186
Aws::FraudDetector::Model::EntityType::EntityType
EntityType(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::EntityType::WithDescription
EntityType & WithDescription(const char *value)
Definition: EntityType.h:119
Aws::FraudDetector::Model::EntityType::EntityType
EntityType()
Aws::FraudDetector::Model::EntityType::SetArn
void SetArn(Aws::String &&value)
Definition: EntityType.h:222
Aws::FraudDetector::Model::EntityType::GetDescription
const Aws::String & GetDescription() const
Definition: EntityType.h:84
Aws::FraudDetector::Model::EntityType::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: EntityType.h:125
Aws::FraudDetector::Model::EntityType::WithName
EntityType & WithName(const Aws::String &value)
Definition: EntityType.h:68
Aws::FraudDetector::Model::EntityType::SetDescription
void SetDescription(const Aws::String &value)
Definition: EntityType.h:94
Aws::FraudDetector::Model::EntityType::operator=
EntityType & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::EntityType::WithArn
EntityType & WithArn(const char *value)
Definition: EntityType.h:242
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::EntityType::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: EntityType.h:166
Aws::FraudDetector::Model::EntityType::WithLastUpdatedTime
EntityType & WithLastUpdatedTime(const char *value)
Definition: EntityType.h:160
Aws::FraudDetector::Model::EntityType::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: EntityType.h:140
Aws::FraudDetector::Model::EntityType::GetArn
const Aws::String & GetArn() const
Definition: EntityType.h:207
Aws::FraudDetector::Model::EntityType::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: EntityType.h:135
Aws::FraudDetector::Model::EntityType::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: EntityType.h:145
Aws::FraudDetector::Model::EntityType
Definition: EntityType.h:32
Aws::FraudDetector::Model::EntityType::SetDescription
void SetDescription(const char *value)
Definition: EntityType.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::EntityType::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: EntityType.h:176
Aws::FraudDetector::Model::EntityType::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: EntityType.h:212
Aws::FraudDetector::Model::EntityType::WithDescription
EntityType & WithDescription(Aws::String &&value)
Definition: EntityType.h:114
Aws::FraudDetector::Model::EntityType::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: EntityType.h:130
Aws::FraudDetector::Model::EntityType::SetArn
void SetArn(const Aws::String &value)
Definition: EntityType.h:217
Aws::FraudDetector::Model::EntityType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::EntityType::GetName
const Aws::String & GetName() const
Definition: EntityType.h:43
Aws::FraudDetector::Model::EntityType::SetDescription
void SetDescription(Aws::String &&value)
Definition: EntityType.h:99
Aws::FraudDetector::Model::EntityType::SetName
void SetName(const char *value)
Definition: EntityType.h:63
Aws::FraudDetector::Model::EntityType::NameHasBeenSet
bool NameHasBeenSet() const
Definition: EntityType.h:48
Aws::FraudDetector::Model::EntityType::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: EntityType.h:89
Aws::FraudDetector::Model::EntityType::WithLastUpdatedTime
EntityType & WithLastUpdatedTime(Aws::String &&value)
Definition: EntityType.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::EntityType::WithLastUpdatedTime
EntityType & WithLastUpdatedTime(const Aws::String &value)
Definition: EntityType.h:150
Aws::FraudDetector::Model::EntityType::WithArn
EntityType & WithArn(Aws::String &&value)
Definition: EntityType.h:237
Aws::FraudDetector::Model::EntityType::WithArn
EntityType & WithArn(const Aws::String &value)
Definition: EntityType.h:232
Aws::FraudDetector::Model::EntityType::SetArn
void SetArn(const char *value)
Definition: EntityType.h:227
Aws::FraudDetector::Model::EntityType::WithName
EntityType & WithName(const char *value)
Definition: EntityType.h:78
Aws::FraudDetector::Model::EntityType::SetName
void SetName(const Aws::String &value)
Definition: EntityType.h:53
Aws::FraudDetector::Model::EntityType::WithCreatedTime
EntityType & WithCreatedTime(const char *value)
Definition: EntityType.h:201