AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Variable.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/DataType.h>
10#include <aws/frauddetector/model/DataSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FraudDetector
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FRAUDDETECTOR_API Variable();
37 AWS_FRAUDDETECTOR_API Variable(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Variable& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Variable& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Variable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Variable& WithName(const char* value) { SetName(value); return *this;}
55
57
62 inline const DataType& GetDataType() const{ return m_dataType; }
63 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
64 inline void SetDataType(const DataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
65 inline void SetDataType(DataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
66 inline Variable& WithDataType(const DataType& value) { SetDataType(value); return *this;}
67 inline Variable& WithDataType(DataType&& value) { SetDataType(std::move(value)); return *this;}
69
71
74 inline const DataSource& GetDataSource() const{ return m_dataSource; }
75 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
76 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
77 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
78 inline Variable& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
79 inline Variable& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
87 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
88 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
89 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
90 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
91 inline Variable& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
92 inline Variable& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
93 inline Variable& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
95
97
100 inline const Aws::String& GetDescription() const{ return m_description; }
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
103 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline Variable& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 inline Variable& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 inline Variable& WithDescription(const char* value) { SetDescription(value); return *this;}
109
111
121 inline const Aws::String& GetVariableType() const{ return m_variableType; }
122 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
123 inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
124 inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
125 inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
126 inline Variable& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
127 inline Variable& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
128 inline Variable& WithVariableType(const char* value) { SetVariableType(value); return *this;}
130
132
135 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
136 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
137 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
138 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
139 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
140 inline Variable& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
141 inline Variable& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
142 inline Variable& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
144
146
149 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
150 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
151 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
152 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
153 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
154 inline Variable& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
155 inline Variable& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
156 inline Variable& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
158
160
163 inline const Aws::String& GetArn() const{ return m_arn; }
164 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
165 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
166 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
167 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
168 inline Variable& WithArn(const Aws::String& value) { SetArn(value); return *this;}
169 inline Variable& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
170 inline Variable& WithArn(const char* value) { SetArn(value); return *this;}
172 private:
173
174 Aws::String m_name;
175 bool m_nameHasBeenSet = false;
176
177 DataType m_dataType;
178 bool m_dataTypeHasBeenSet = false;
179
180 DataSource m_dataSource;
181 bool m_dataSourceHasBeenSet = false;
182
183 Aws::String m_defaultValue;
184 bool m_defaultValueHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_variableType;
190 bool m_variableTypeHasBeenSet = false;
191
192 Aws::String m_lastUpdatedTime;
193 bool m_lastUpdatedTimeHasBeenSet = false;
194
195 Aws::String m_createdTime;
196 bool m_createdTimeHasBeenSet = false;
197
198 Aws::String m_arn;
199 bool m_arnHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace FraudDetector
204} // namespace Aws
Variable & WithArn(Aws::String &&value)
Definition Variable.h:169
Variable & WithCreatedTime(const char *value)
Definition Variable.h:156
void SetLastUpdatedTime(const char *value)
Definition Variable.h:139
const Aws::String & GetVariableType() const
Definition Variable.h:121
const Aws::String & GetArn() const
Definition Variable.h:163
void SetDefaultValue(Aws::String &&value)
Definition Variable.h:89
const Aws::String & GetLastUpdatedTime() const
Definition Variable.h:135
Variable & WithDefaultValue(const Aws::String &value)
Definition Variable.h:91
Variable & WithCreatedTime(const Aws::String &value)
Definition Variable.h:154
void SetDataSource(DataSource &&value)
Definition Variable.h:77
Variable & WithVariableType(const char *value)
Definition Variable.h:128
const DataSource & GetDataSource() const
Definition Variable.h:74
void SetVariableType(const char *value)
Definition Variable.h:125
void SetDefaultValue(const Aws::String &value)
Definition Variable.h:88
void SetLastUpdatedTime(const Aws::String &value)
Definition Variable.h:137
void SetDataSource(const DataSource &value)
Definition Variable.h:76
void SetCreatedTime(const char *value)
Definition Variable.h:153
Variable & WithDataType(DataType &&value)
Definition Variable.h:67
void SetCreatedTime(const Aws::String &value)
Definition Variable.h:151
void SetArn(const Aws::String &value)
Definition Variable.h:165
Variable & WithLastUpdatedTime(Aws::String &&value)
Definition Variable.h:141
Variable & WithVariableType(const Aws::String &value)
Definition Variable.h:126
void SetName(const Aws::String &value)
Definition Variable.h:48
Variable & WithDataSource(const DataSource &value)
Definition Variable.h:78
const Aws::String & GetName() const
Definition Variable.h:46
Variable & WithDescription(const char *value)
Definition Variable.h:107
void SetLastUpdatedTime(Aws::String &&value)
Definition Variable.h:138
Variable & WithDescription(const Aws::String &value)
Definition Variable.h:105
void SetArn(const char *value)
Definition Variable.h:167
Variable & WithDescription(Aws::String &&value)
Definition Variable.h:106
Variable & WithArn(const char *value)
Definition Variable.h:170
void SetCreatedTime(Aws::String &&value)
Definition Variable.h:152
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
Definition Variable.h:102
void SetVariableType(Aws::String &&value)
Definition Variable.h:124
Variable & WithDefaultValue(Aws::String &&value)
Definition Variable.h:92
void SetDefaultValue(const char *value)
Definition Variable.h:90
const Aws::String & GetDescription() const
Definition Variable.h:100
void SetDataType(DataType &&value)
Definition Variable.h:65
Variable & WithLastUpdatedTime(const char *value)
Definition Variable.h:142
const DataType & GetDataType() const
Definition Variable.h:62
Variable & WithArn(const Aws::String &value)
Definition Variable.h:168
Variable & WithName(const Aws::String &value)
Definition Variable.h:51
Variable & WithDefaultValue(const char *value)
Definition Variable.h:93
void SetArn(Aws::String &&value)
Definition Variable.h:166
void SetDescription(const char *value)
Definition Variable.h:104
void SetName(Aws::String &&value)
Definition Variable.h:49
const Aws::String & GetCreatedTime() const
Definition Variable.h:149
AWS_FRAUDDETECTOR_API Variable & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Variable()
void SetDescription(Aws::String &&value)
Definition Variable.h:103
void SetDataType(const DataType &value)
Definition Variable.h:64
Variable & WithName(Aws::String &&value)
Definition Variable.h:52
Variable & WithCreatedTime(Aws::String &&value)
Definition Variable.h:155
void SetVariableType(const Aws::String &value)
Definition Variable.h:123
Variable & WithDataType(const DataType &value)
Definition Variable.h:66
Variable & WithName(const char *value)
Definition Variable.h:53
void SetName(const char *value)
Definition Variable.h:50
const Aws::String & GetDefaultValue() const
Definition Variable.h:86
Variable & WithDataSource(DataSource &&value)
Definition Variable.h:79
Variable & WithVariableType(Aws::String &&value)
Definition Variable.h:127
Variable & WithLastUpdatedTime(const Aws::String &value)
Definition Variable.h:140
AWS_FRAUDDETECTOR_API Variable(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue