AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 Variable& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
60 inline DataType GetDataType() const { return m_dataType; }
61 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
62 inline void SetDataType(DataType value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
63 inline Variable& WithDataType(DataType value) { SetDataType(value); return *this;}
65
67
70 inline DataSource GetDataSource() const { return m_dataSource; }
71 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
72 inline void SetDataSource(DataSource value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
73 inline Variable& WithDataSource(DataSource value) { SetDataSource(value); return *this;}
75
77
80 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
81 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
82 template<typename DefaultValueT = Aws::String>
83 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
84 template<typename DefaultValueT = Aws::String>
85 Variable& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template<typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
96 template<typename DescriptionT = Aws::String>
97 Variable& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
99
101
111 inline const Aws::String& GetVariableType() const { return m_variableType; }
112 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
113 template<typename VariableTypeT = Aws::String>
114 void SetVariableType(VariableTypeT&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::forward<VariableTypeT>(value); }
115 template<typename VariableTypeT = Aws::String>
116 Variable& WithVariableType(VariableTypeT&& value) { SetVariableType(std::forward<VariableTypeT>(value)); return *this;}
118
120
123 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
124 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
125 template<typename LastUpdatedTimeT = Aws::String>
126 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
127 template<typename LastUpdatedTimeT = Aws::String>
128 Variable& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
130
132
135 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
136 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
137 template<typename CreatedTimeT = Aws::String>
138 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
139 template<typename CreatedTimeT = Aws::String>
140 Variable& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
142
144
147 inline const Aws::String& GetArn() const { return m_arn; }
148 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
149 template<typename ArnT = Aws::String>
150 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
151 template<typename ArnT = Aws::String>
152 Variable& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
154 private:
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 DataType m_dataType{DataType::NOT_SET};
160 bool m_dataTypeHasBeenSet = false;
161
162 DataSource m_dataSource{DataSource::NOT_SET};
163 bool m_dataSourceHasBeenSet = false;
164
165 Aws::String m_defaultValue;
166 bool m_defaultValueHasBeenSet = false;
167
168 Aws::String m_description;
169 bool m_descriptionHasBeenSet = false;
170
171 Aws::String m_variableType;
172 bool m_variableTypeHasBeenSet = false;
173
174 Aws::String m_lastUpdatedTime;
175 bool m_lastUpdatedTimeHasBeenSet = false;
176
177 Aws::String m_createdTime;
178 bool m_createdTimeHasBeenSet = false;
179
180 Aws::String m_arn;
181 bool m_arnHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace FraudDetector
186} // namespace Aws
const Aws::String & GetVariableType() const
Definition Variable.h:111
const Aws::String & GetArn() const
Definition Variable.h:147
const Aws::String & GetLastUpdatedTime() const
Definition Variable.h:123
Variable & WithDescription(DescriptionT &&value)
Definition Variable.h:97
void SetName(NameT &&value)
Definition Variable.h:49
void SetVariableType(VariableTypeT &&value)
Definition Variable.h:114
Variable & WithCreatedTime(CreatedTimeT &&value)
Definition Variable.h:140
Variable & WithArn(ArnT &&value)
Definition Variable.h:152
Variable & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Variable.h:128
const Aws::String & GetName() const
Definition Variable.h:46
AWS_FRAUDDETECTOR_API Variable()=default
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
Definition Variable.h:92
Variable & WithDataSource(DataSource value)
Definition Variable.h:73
void SetDataType(DataType value)
Definition Variable.h:62
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Variable.h:126
Variable & WithVariableType(VariableTypeT &&value)
Definition Variable.h:116
void SetDataSource(DataSource value)
Definition Variable.h:72
Variable & WithDataType(DataType value)
Definition Variable.h:63
Variable & WithName(NameT &&value)
Definition Variable.h:51
Variable & WithDefaultValue(DefaultValueT &&value)
Definition Variable.h:85
const Aws::String & GetCreatedTime() const
Definition Variable.h:135
AWS_FRAUDDETECTOR_API Variable & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource GetDataSource() const
Definition Variable.h:70
const Aws::String & GetDefaultValue() const
Definition Variable.h:80
void SetCreatedTime(CreatedTimeT &&value)
Definition Variable.h:138
void SetDescription(DescriptionT &&value)
Definition Variable.h:95
void SetDefaultValue(DefaultValueT &&value)
Definition Variable.h:83
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