AWS SDK for C++  1.9.15
AWS SDK for C++
Variable.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace FraudDetector
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline Variable& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline Variable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline Variable& WithName(const char* value) { SetName(value); return *this;}
81 
82 
88  inline const DataType& GetDataType() const{ return m_dataType; }
89 
95  inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
96 
102  inline void SetDataType(const DataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
103 
109  inline void SetDataType(DataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
110 
116  inline Variable& WithDataType(const DataType& value) { SetDataType(value); return *this;}
117 
123  inline Variable& WithDataType(DataType&& value) { SetDataType(std::move(value)); return *this;}
124 
125 
129  inline const DataSource& GetDataSource() const{ return m_dataSource; }
130 
134  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
135 
139  inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
140 
144  inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
145 
149  inline Variable& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
150 
154  inline Variable& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
155 
156 
160  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
161 
165  inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
166 
170  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
171 
175  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
176 
180  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
181 
185  inline Variable& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
186 
190  inline Variable& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
191 
195  inline Variable& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
196 
197 
201  inline const Aws::String& GetDescription() const{ return m_description; }
202 
206  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
207 
211  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
212 
216  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
217 
221  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
222 
226  inline Variable& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
227 
231  inline Variable& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
232 
236  inline Variable& WithDescription(const char* value) { SetDescription(value); return *this;}
237 
238 
249  inline const Aws::String& GetVariableType() const{ return m_variableType; }
250 
261  inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
262 
273  inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
274 
285  inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
286 
297  inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
298 
309  inline Variable& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
310 
321  inline Variable& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
322 
333  inline Variable& WithVariableType(const char* value) { SetVariableType(value); return *this;}
334 
335 
339  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
340 
344  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
345 
349  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
350 
354  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
355 
359  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
360 
364  inline Variable& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
365 
369  inline Variable& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
370 
374  inline Variable& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
375 
376 
380  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
381 
385  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
386 
390  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
391 
395  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
396 
400  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
401 
405  inline Variable& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
406 
410  inline Variable& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
411 
415  inline Variable& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
416 
417 
421  inline const Aws::String& GetArn() const{ return m_arn; }
422 
426  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
427 
431  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
432 
436  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
437 
441  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
442 
446  inline Variable& WithArn(const Aws::String& value) { SetArn(value); return *this;}
447 
451  inline Variable& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
452 
456  inline Variable& WithArn(const char* value) { SetArn(value); return *this;}
457 
458  private:
459 
460  Aws::String m_name;
461  bool m_nameHasBeenSet;
462 
463  DataType m_dataType;
464  bool m_dataTypeHasBeenSet;
465 
466  DataSource m_dataSource;
467  bool m_dataSourceHasBeenSet;
468 
469  Aws::String m_defaultValue;
470  bool m_defaultValueHasBeenSet;
471 
472  Aws::String m_description;
473  bool m_descriptionHasBeenSet;
474 
475  Aws::String m_variableType;
476  bool m_variableTypeHasBeenSet;
477 
478  Aws::String m_lastUpdatedTime;
479  bool m_lastUpdatedTimeHasBeenSet;
480 
481  Aws::String m_createdTime;
482  bool m_createdTimeHasBeenSet;
483 
484  Aws::String m_arn;
485  bool m_arnHasBeenSet;
486  };
487 
488 } // namespace Model
489 } // namespace FraudDetector
490 } // namespace Aws
Aws::FraudDetector::Model::Variable::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: Variable.h:349
Aws::FraudDetector::Model::Variable::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Variable.h:206
Aws::FraudDetector::Model::Variable::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::Variable::WithDataType
Variable & WithDataType(DataType &&value)
Definition: Variable.h:123
Aws::FraudDetector::Model::Variable::GetDescription
const Aws::String & GetDescription() const
Definition: Variable.h:201
Aws::FraudDetector::Model::Variable::VariableTypeHasBeenSet
bool VariableTypeHasBeenSet() const
Definition: Variable.h:261
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DataType
DataType
Definition: DataType.h:17
Aws::FraudDetector::Model::Variable::WithArn
Variable & WithArn(const char *value)
Definition: Variable.h:456
Aws::FraudDetector::Model::Variable::WithVariableType
Variable & WithVariableType(const Aws::String &value)
Definition: Variable.h:309
Aws::FraudDetector::Model::Variable::Variable
Variable()
Aws::FraudDetector::Model::Variable::GetDataType
const DataType & GetDataType() const
Definition: Variable.h:88
Aws::FraudDetector::Model::Variable::SetVariableType
void SetVariableType(Aws::String &&value)
Definition: Variable.h:285
Aws::FraudDetector::Model::Variable::WithArn
Variable & WithArn(Aws::String &&value)
Definition: Variable.h:451
Aws::FraudDetector::Model::Variable::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: Variable.h:395
DataSource.h
Aws::FraudDetector::Model::Variable::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: Variable.h:344
Aws::FraudDetector::Model::Variable::SetDescription
void SetDescription(const char *value)
Definition: Variable.h:221
Aws::FraudDetector::Model::Variable::SetArn
void SetArn(const char *value)
Definition: Variable.h:441
Aws::FraudDetector::Model::Variable::SetDefaultValue
void SetDefaultValue(const Aws::String &value)
Definition: Variable.h:170
Aws::FraudDetector::Model::Variable::Variable
Variable(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Variable::WithArn
Variable & WithArn(const Aws::String &value)
Definition: Variable.h:446
Aws::FraudDetector::Model::Variable::SetDefaultValue
void SetDefaultValue(const char *value)
Definition: Variable.h:180
Aws::FraudDetector::Model::Variable::SetDataSource
void SetDataSource(const DataSource &value)
Definition: Variable.h:139
Aws::FraudDetector::Model::Variable::WithLastUpdatedTime
Variable & WithLastUpdatedTime(const Aws::String &value)
Definition: Variable.h:364
Aws::FraudDetector::Model::Variable::WithLastUpdatedTime
Variable & WithLastUpdatedTime(const char *value)
Definition: Variable.h:374
Aws::FraudDetector::Model::Variable::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Variable.h:50
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::Variable::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: Variable.h:380
Aws::FraudDetector::Model::Variable::SetDataSource
void SetDataSource(DataSource &&value)
Definition: Variable.h:144
Aws::FraudDetector::Model::Variable::DataTypeHasBeenSet
bool DataTypeHasBeenSet() const
Definition: Variable.h:95
Aws::FraudDetector::Model::Variable::SetArn
void SetArn(const Aws::String &value)
Definition: Variable.h:431
Aws::FraudDetector::Model::Variable::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Variable.h:426
Aws::FraudDetector::Model::Variable::WithDefaultValue
Variable & WithDefaultValue(Aws::String &&value)
Definition: Variable.h:190
Aws::FraudDetector::Model::Variable::WithCreatedTime
Variable & WithCreatedTime(Aws::String &&value)
Definition: Variable.h:410
Aws::FraudDetector::Model::Variable::WithDescription
Variable & WithDescription(const Aws::String &value)
Definition: Variable.h:226
Aws::FraudDetector::Model::Variable::WithName
Variable & WithName(const Aws::String &value)
Definition: Variable.h:70
Aws::FraudDetector::Model::Variable::WithLastUpdatedTime
Variable & WithLastUpdatedTime(Aws::String &&value)
Definition: Variable.h:369
Aws::FraudDetector::Model::Variable::GetArn
const Aws::String & GetArn() const
Definition: Variable.h:421
DataType.h
Aws::FraudDetector::Model::Variable::SetVariableType
void SetVariableType(const Aws::String &value)
Definition: Variable.h:273
Aws::FraudDetector::Model::Variable::GetDataSource
const DataSource & GetDataSource() const
Definition: Variable.h:129
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::Variable
Definition: Variable.h:34
Aws::FraudDetector::Model::Variable::WithDescription
Variable & WithDescription(const char *value)
Definition: Variable.h:236
Aws::FraudDetector::Model::Variable::SetDataType
void SetDataType(DataType &&value)
Definition: Variable.h:109
Aws::FraudDetector::Model::Variable::operator=
Variable & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Variable::SetDescription
void SetDescription(Aws::String &&value)
Definition: Variable.h:216
Aws::FraudDetector::Model::Variable::SetName
void SetName(const char *value)
Definition: Variable.h:65
Aws::FraudDetector::Model::Variable::SetName
void SetName(Aws::String &&value)
Definition: Variable.h:60
Aws::FraudDetector::Model::Variable::SetDefaultValue
void SetDefaultValue(Aws::String &&value)
Definition: Variable.h:175
Aws::FraudDetector::Model::Variable::WithDescription
Variable & WithDescription(Aws::String &&value)
Definition: Variable.h:231
Aws::FraudDetector::Model::Variable::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: Variable.h:390
Aws::FraudDetector::Model::Variable::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: Variable.h:359
Aws::FraudDetector::Model::Variable::SetName
void SetName(const Aws::String &value)
Definition: Variable.h:55
Aws::FraudDetector::Model::Variable::GetVariableType
const Aws::String & GetVariableType() const
Definition: Variable.h:249
Aws::FraudDetector::Model::Variable::GetName
const Aws::String & GetName() const
Definition: Variable.h:45
Aws::FraudDetector::Model::Variable::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: Variable.h:339
Aws::FraudDetector::Model::Variable::WithName
Variable & WithName(const char *value)
Definition: Variable.h:80
Aws::FraudDetector::Model::Variable::WithDefaultValue
Variable & WithDefaultValue(const Aws::String &value)
Definition: Variable.h:185
Aws::FraudDetector::Model::Variable::WithName
Variable & WithName(Aws::String &&value)
Definition: Variable.h:75
Aws::FraudDetector::Model::Variable::WithDataSource
Variable & WithDataSource(const DataSource &value)
Definition: Variable.h:149
Aws::FraudDetector::Model::Variable::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: Variable.h:385
Aws::FraudDetector::Model::Variable::WithDataSource
Variable & WithDataSource(DataSource &&value)
Definition: Variable.h:154
Aws::FraudDetector::Model::Variable::SetDescription
void SetDescription(const Aws::String &value)
Definition: Variable.h:211
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::Variable::GetDefaultValue
const Aws::String & GetDefaultValue() const
Definition: Variable.h:160
Aws::FraudDetector::Model::Variable::WithDataType
Variable & WithDataType(const DataType &value)
Definition: Variable.h:116
Aws::FraudDetector::Model::Variable::SetDataType
void SetDataType(const DataType &value)
Definition: Variable.h:102
Aws::FraudDetector::Model::Variable::WithVariableType
Variable & WithVariableType(Aws::String &&value)
Definition: Variable.h:321
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::Variable::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: Variable.h:400
Aws::FraudDetector::Model::Variable::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: Variable.h:134
Aws::FraudDetector::Model::Variable::SetArn
void SetArn(Aws::String &&value)
Definition: Variable.h:436
Aws::FraudDetector::Model::DataSource
DataSource
Definition: DataSource.h:17
Aws::FraudDetector::Model::Variable::SetVariableType
void SetVariableType(const char *value)
Definition: Variable.h:297
Aws::FraudDetector::Model::Variable::WithDefaultValue
Variable & WithDefaultValue(const char *value)
Definition: Variable.h:195
Aws::FraudDetector::Model::Variable::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: Variable.h:354
Aws::FraudDetector::Model::Variable::WithCreatedTime
Variable & WithCreatedTime(const char *value)
Definition: Variable.h:415
Aws::FraudDetector::Model::Variable::WithVariableType
Variable & WithVariableType(const char *value)
Definition: Variable.h:333
Aws::FraudDetector::Model::Variable::DefaultValueHasBeenSet
bool DefaultValueHasBeenSet() const
Definition: Variable.h:165
Aws::FraudDetector::Model::Variable::WithCreatedTime
Variable & WithCreatedTime(const Aws::String &value)
Definition: Variable.h:405