AWS SDK for C++  1.9.14
AWS SDK for C++
VariableEntry.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline VariableEntry& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline VariableEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline VariableEntry& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetDataType() const{ return m_dataType; }
86 
90  inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
91 
95  inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
96 
100  inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
101 
105  inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
106 
110  inline VariableEntry& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
111 
115  inline VariableEntry& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
116 
120  inline VariableEntry& WithDataType(const char* value) { SetDataType(value); return *this;}
121 
122 
126  inline const Aws::String& GetDataSource() const{ return m_dataSource; }
127 
131  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
132 
136  inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
137 
141  inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
142 
146  inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); }
147 
151  inline VariableEntry& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;}
152 
156  inline VariableEntry& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;}
157 
161  inline VariableEntry& WithDataSource(const char* value) { SetDataSource(value); return *this;}
162 
163 
167  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
168 
172  inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
173 
177  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
178 
182  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
183 
187  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
188 
192  inline VariableEntry& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
193 
197  inline VariableEntry& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
198 
202  inline VariableEntry& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
203 
204 
208  inline const Aws::String& GetDescription() const{ return m_description; }
209 
213  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
214 
218  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
219 
223  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
224 
228  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
229 
233  inline VariableEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
234 
238  inline VariableEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
239 
243  inline VariableEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
244 
245 
258  inline const Aws::String& GetVariableType() const{ return m_variableType; }
259 
272  inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
273 
286  inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
287 
300  inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
301 
314  inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
315 
328  inline VariableEntry& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
329 
342  inline VariableEntry& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
343 
356  inline VariableEntry& WithVariableType(const char* value) { SetVariableType(value); return *this;}
357 
358  private:
359 
360  Aws::String m_name;
361  bool m_nameHasBeenSet;
362 
363  Aws::String m_dataType;
364  bool m_dataTypeHasBeenSet;
365 
366  Aws::String m_dataSource;
367  bool m_dataSourceHasBeenSet;
368 
369  Aws::String m_defaultValue;
370  bool m_defaultValueHasBeenSet;
371 
372  Aws::String m_description;
373  bool m_descriptionHasBeenSet;
374 
375  Aws::String m_variableType;
376  bool m_variableTypeHasBeenSet;
377  };
378 
379 } // namespace Model
380 } // namespace FraudDetector
381 } // namespace Aws
Aws::FraudDetector::Model::VariableEntry::SetDefaultValue
void SetDefaultValue(const char *value)
Definition: VariableEntry.h:187
Aws::FraudDetector::Model::VariableEntry::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: VariableEntry.h:213
Aws::FraudDetector::Model::VariableEntry::SetVariableType
void SetVariableType(Aws::String &&value)
Definition: VariableEntry.h:300
Aws::FraudDetector::Model::VariableEntry::WithDescription
VariableEntry & WithDescription(const Aws::String &value)
Definition: VariableEntry.h:233
Aws::FraudDetector::Model::VariableEntry::NameHasBeenSet
bool NameHasBeenSet() const
Definition: VariableEntry.h:49
Aws::FraudDetector::Model::VariableEntry::SetName
void SetName(Aws::String &&value)
Definition: VariableEntry.h:59
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::VariableEntry::WithDataSource
VariableEntry & WithDataSource(Aws::String &&value)
Definition: VariableEntry.h:156
Aws::FraudDetector::Model::VariableEntry::WithName
VariableEntry & WithName(const char *value)
Definition: VariableEntry.h:79
Aws::FraudDetector::Model::VariableEntry::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: VariableEntry.h:131
Aws::FraudDetector::Model::VariableEntry::GetName
const Aws::String & GetName() const
Definition: VariableEntry.h:44
Aws::FraudDetector::Model::VariableEntry::VariableEntry
VariableEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::VariableEntry::VariableTypeHasBeenSet
bool VariableTypeHasBeenSet() const
Definition: VariableEntry.h:272
Aws::FraudDetector::Model::VariableEntry::DefaultValueHasBeenSet
bool DefaultValueHasBeenSet() const
Definition: VariableEntry.h:172
Aws::FraudDetector::Model::VariableEntry::SetName
void SetName(const Aws::String &value)
Definition: VariableEntry.h:54
Aws::FraudDetector::Model::VariableEntry::WithName
VariableEntry & WithName(Aws::String &&value)
Definition: VariableEntry.h:74
Aws::FraudDetector::Model::VariableEntry::WithDefaultValue
VariableEntry & WithDefaultValue(const char *value)
Definition: VariableEntry.h:202
Aws::FraudDetector::Model::VariableEntry::WithVariableType
VariableEntry & WithVariableType(const Aws::String &value)
Definition: VariableEntry.h:328
Aws::FraudDetector::Model::VariableEntry::WithVariableType
VariableEntry & WithVariableType(const char *value)
Definition: VariableEntry.h:356
Aws::FraudDetector::Model::VariableEntry::SetDefaultValue
void SetDefaultValue(const Aws::String &value)
Definition: VariableEntry.h:177
Aws::FraudDetector::Model::VariableEntry::operator=
VariableEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::VariableEntry::WithDataType
VariableEntry & WithDataType(const Aws::String &value)
Definition: VariableEntry.h:110
Aws::FraudDetector::Model::VariableEntry::SetDefaultValue
void SetDefaultValue(Aws::String &&value)
Definition: VariableEntry.h:182
Aws::FraudDetector::Model::VariableEntry::WithDescription
VariableEntry & WithDescription(const char *value)
Definition: VariableEntry.h:243
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::VariableEntry::WithDataType
VariableEntry & WithDataType(const char *value)
Definition: VariableEntry.h:120
Aws::FraudDetector::Model::VariableEntry::SetDataSource
void SetDataSource(Aws::String &&value)
Definition: VariableEntry.h:141
Aws::FraudDetector::Model::VariableEntry::WithName
VariableEntry & WithName(const Aws::String &value)
Definition: VariableEntry.h:69
Aws::FraudDetector::Model::VariableEntry::SetDataSource
void SetDataSource(const Aws::String &value)
Definition: VariableEntry.h:136
Aws::FraudDetector::Model::VariableEntry::WithDataSource
VariableEntry & WithDataSource(const Aws::String &value)
Definition: VariableEntry.h:151
Aws::FraudDetector::Model::VariableEntry::GetDefaultValue
const Aws::String & GetDefaultValue() const
Definition: VariableEntry.h:167
Aws::FraudDetector::Model::VariableEntry::SetDataType
void SetDataType(const Aws::String &value)
Definition: VariableEntry.h:95
Aws::FraudDetector::Model::VariableEntry
Definition: VariableEntry.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::VariableEntry::GetDescription
const Aws::String & GetDescription() const
Definition: VariableEntry.h:208
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::VariableEntry::DataTypeHasBeenSet
bool DataTypeHasBeenSet() const
Definition: VariableEntry.h:90
Aws::FraudDetector::Model::VariableEntry::WithDefaultValue
VariableEntry & WithDefaultValue(const Aws::String &value)
Definition: VariableEntry.h:192
Aws::FraudDetector::Model::VariableEntry::SetVariableType
void SetVariableType(const char *value)
Definition: VariableEntry.h:314
Aws::FraudDetector::Model::VariableEntry::GetDataSource
const Aws::String & GetDataSource() const
Definition: VariableEntry.h:126
Aws::FraudDetector::Model::VariableEntry::WithDescription
VariableEntry & WithDescription(Aws::String &&value)
Definition: VariableEntry.h:238
Aws::FraudDetector::Model::VariableEntry::SetDataType
void SetDataType(Aws::String &&value)
Definition: VariableEntry.h:100
Aws::FraudDetector::Model::VariableEntry::SetDescription
void SetDescription(Aws::String &&value)
Definition: VariableEntry.h:223
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::VariableEntry::VariableEntry
VariableEntry()
Aws::FraudDetector::Model::VariableEntry::SetDescription
void SetDescription(const Aws::String &value)
Definition: VariableEntry.h:218
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::VariableEntry::SetName
void SetName(const char *value)
Definition: VariableEntry.h:64
Aws::FraudDetector::Model::VariableEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::VariableEntry::GetVariableType
const Aws::String & GetVariableType() const
Definition: VariableEntry.h:258
Aws::FraudDetector::Model::VariableEntry::WithDataSource
VariableEntry & WithDataSource(const char *value)
Definition: VariableEntry.h:161
Aws::FraudDetector::Model::VariableEntry::SetDataType
void SetDataType(const char *value)
Definition: VariableEntry.h:105
Aws::FraudDetector::Model::VariableEntry::SetDataSource
void SetDataSource(const char *value)
Definition: VariableEntry.h:146
Aws::FraudDetector::Model::VariableEntry::SetDescription
void SetDescription(const char *value)
Definition: VariableEntry.h:228
Aws::FraudDetector::Model::VariableEntry::WithDataType
VariableEntry & WithDataType(Aws::String &&value)
Definition: VariableEntry.h:115
Aws::FraudDetector::Model::VariableEntry::SetVariableType
void SetVariableType(const Aws::String &value)
Definition: VariableEntry.h:286
Aws::FraudDetector::Model::VariableEntry::WithVariableType
VariableEntry & WithVariableType(Aws::String &&value)
Definition: VariableEntry.h:342
Aws::FraudDetector::Model::VariableEntry::GetDataType
const Aws::String & GetDataType() const
Definition: VariableEntry.h:85
Aws::FraudDetector::Model::VariableEntry::WithDefaultValue
VariableEntry & WithDefaultValue(Aws::String &&value)
Definition: VariableEntry.h:197