AWS SDK for C++  1.9.71
AWS SDK for C++
CreateVariableRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace FraudDetector
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateVariable"; }
35 
36  Aws::String SerializePayload() const override;
37 
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 CreateVariableRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline CreateVariableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline CreateVariableRequest& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const DataType& GetDataType() const{ return m_dataType; }
86 
90  inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
91 
95  inline void SetDataType(const DataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
96 
100  inline void SetDataType(DataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
101 
105  inline CreateVariableRequest& WithDataType(const DataType& value) { SetDataType(value); return *this;}
106 
110  inline CreateVariableRequest& WithDataType(DataType&& value) { SetDataType(std::move(value)); return *this;}
111 
112 
116  inline const DataSource& GetDataSource() const{ return m_dataSource; }
117 
121  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
122 
126  inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
127 
131  inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
132 
136  inline CreateVariableRequest& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
137 
141  inline CreateVariableRequest& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
142 
143 
147  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
148 
152  inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
153 
157  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
158 
162  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
163 
167  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
168 
172  inline CreateVariableRequest& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
173 
177  inline CreateVariableRequest& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
178 
182  inline CreateVariableRequest& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
183 
184 
188  inline const Aws::String& GetDescription() const{ return m_description; }
189 
193  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
194 
198  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
199 
203  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
204 
208  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
209 
213  inline CreateVariableRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
214 
218  inline CreateVariableRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
219 
223  inline CreateVariableRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
224 
225 
238  inline const Aws::String& GetVariableType() const{ return m_variableType; }
239 
252  inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
253 
266  inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
267 
280  inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
281 
294  inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
295 
308  inline CreateVariableRequest& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
309 
322  inline CreateVariableRequest& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
323 
336  inline CreateVariableRequest& WithVariableType(const char* value) { SetVariableType(value); return *this;}
337 
338 
342  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
343 
347  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
348 
352  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
353 
357  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
358 
362  inline CreateVariableRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
363 
367  inline CreateVariableRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
368 
372  inline CreateVariableRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
373 
377  inline CreateVariableRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
378 
379  private:
380 
381  Aws::String m_name;
382  bool m_nameHasBeenSet;
383 
384  DataType m_dataType;
385  bool m_dataTypeHasBeenSet;
386 
387  DataSource m_dataSource;
388  bool m_dataSourceHasBeenSet;
389 
390  Aws::String m_defaultValue;
391  bool m_defaultValueHasBeenSet;
392 
393  Aws::String m_description;
394  bool m_descriptionHasBeenSet;
395 
396  Aws::String m_variableType;
397  bool m_variableTypeHasBeenSet;
398 
399  Aws::Vector<Tag> m_tags;
400  bool m_tagsHasBeenSet;
401  };
402 
403 } // namespace Model
404 } // namespace FraudDetector
405 } // namespace Aws
Aws::FraudDetector::Model::CreateVariableRequest::WithDefaultValue
CreateVariableRequest & WithDefaultValue(const char *value)
Definition: CreateVariableRequest.h:182
Aws::FraudDetector::Model::CreateVariableRequest::WithDataSource
CreateVariableRequest & WithDataSource(const DataSource &value)
Definition: CreateVariableRequest.h:136
FraudDetectorRequest.h
Aws::FraudDetector::Model::CreateVariableRequest::SetDefaultValue
void SetDefaultValue(const char *value)
Definition: CreateVariableRequest.h:167
Aws::FraudDetector::Model::CreateVariableRequest::SetName
void SetName(const char *value)
Definition: CreateVariableRequest.h:64
Tag.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::CreateVariableRequest::SetDataType
void SetDataType(const DataType &value)
Definition: CreateVariableRequest.h:95
Aws::FraudDetector::Model::CreateVariableRequest::DefaultValueHasBeenSet
bool DefaultValueHasBeenSet() const
Definition: CreateVariableRequest.h:152
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::CreateVariableRequest::GetDataType
const DataType & GetDataType() const
Definition: CreateVariableRequest.h:85
Aws::FraudDetector::Model::DataType
DataType
Definition: DataType.h:17
Aws::FraudDetector::Model::CreateVariableRequest::SetVariableType
void SetVariableType(const Aws::String &value)
Definition: CreateVariableRequest.h:266
Aws::FraudDetector::Model::CreateVariableRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateVariableRequest.h:34
Aws::FraudDetector::Model::CreateVariableRequest::AddTags
CreateVariableRequest & AddTags(Tag &&value)
Definition: CreateVariableRequest.h:377
Aws::FraudDetector::Model::CreateVariableRequest::SetVariableType
void SetVariableType(const char *value)
Definition: CreateVariableRequest.h:294
Aws::FraudDetector::Model::CreateVariableRequest::WithDataSource
CreateVariableRequest & WithDataSource(DataSource &&value)
Definition: CreateVariableRequest.h:141
Aws::FraudDetector::Model::CreateVariableRequest::GetDataSource
const DataSource & GetDataSource() const
Definition: CreateVariableRequest.h:116
Aws::FraudDetector::Model::CreateVariableRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateVariableRequest.h:347
Aws::FraudDetector::Model::Tag
Definition: Tag.h:32
DataSource.h
Aws::FraudDetector::Model::CreateVariableRequest::AddTags
CreateVariableRequest & AddTags(const Tag &value)
Definition: CreateVariableRequest.h:372
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::CreateVariableRequest::SetDataType
void SetDataType(DataType &&value)
Definition: CreateVariableRequest.h:100
Aws::FraudDetector::Model::CreateVariableRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateVariableRequest.h:198
Aws::FraudDetector::Model::CreateVariableRequest::WithDefaultValue
CreateVariableRequest & WithDefaultValue(Aws::String &&value)
Definition: CreateVariableRequest.h:177
AWSVector.h
Aws::FraudDetector::Model::CreateVariableRequest::WithDescription
CreateVariableRequest & WithDescription(Aws::String &&value)
Definition: CreateVariableRequest.h:218
Aws::FraudDetector::Model::CreateVariableRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateVariableRequest.h:49
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::CreateVariableRequest::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: CreateVariableRequest.h:121
Aws::FraudDetector::Model::CreateVariableRequest
Definition: CreateVariableRequest.h:26
Aws::FraudDetector::Model::CreateVariableRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::CreateVariableRequest::GetVariableType
const Aws::String & GetVariableType() const
Definition: CreateVariableRequest.h:238
Aws::FraudDetector::Model::CreateVariableRequest::DataTypeHasBeenSet
bool DataTypeHasBeenSet() const
Definition: CreateVariableRequest.h:90
Aws::FraudDetector::Model::CreateVariableRequest::GetName
const Aws::String & GetName() const
Definition: CreateVariableRequest.h:44
Aws::FraudDetector::Model::CreateVariableRequest::WithVariableType
CreateVariableRequest & WithVariableType(Aws::String &&value)
Definition: CreateVariableRequest.h:322
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::CreateVariableRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateVariableRequest.h:208
Aws::FraudDetector::Model::CreateVariableRequest::WithName
CreateVariableRequest & WithName(Aws::String &&value)
Definition: CreateVariableRequest.h:74
Aws::FraudDetector::Model::CreateVariableRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateVariableRequest.h:54
DataType.h
Aws::FraudDetector::Model::CreateVariableRequest::SetVariableType
void SetVariableType(Aws::String &&value)
Definition: CreateVariableRequest.h:280
Aws::FraudDetector::Model::CreateVariableRequest::WithDataType
CreateVariableRequest & WithDataType(DataType &&value)
Definition: CreateVariableRequest.h:110
AWSString.h
Aws::FraudDetector::Model::CreateVariableRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateVariableRequest.h:203
Aws::FraudDetector::Model::CreateVariableRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateVariableRequest.h:357
Aws::FraudDetector::Model::CreateVariableRequest::CreateVariableRequest
CreateVariableRequest()
Aws::FraudDetector::Model::CreateVariableRequest::WithVariableType
CreateVariableRequest & WithVariableType(const Aws::String &value)
Definition: CreateVariableRequest.h:308
Aws::FraudDetector::Model::CreateVariableRequest::SetDataSource
void SetDataSource(const DataSource &value)
Definition: CreateVariableRequest.h:126
Aws::FraudDetector::Model::CreateVariableRequest::WithTags
CreateVariableRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateVariableRequest.h:367
Aws::FraudDetector::Model::CreateVariableRequest::WithDataType
CreateVariableRequest & WithDataType(const DataType &value)
Definition: CreateVariableRequest.h:105
Aws::FraudDetector::Model::CreateVariableRequest::SetDefaultValue
void SetDefaultValue(Aws::String &&value)
Definition: CreateVariableRequest.h:162
Aws::FraudDetector::Model::CreateVariableRequest::SetDataSource
void SetDataSource(DataSource &&value)
Definition: CreateVariableRequest.h:131
Aws::FraudDetector::Model::CreateVariableRequest::GetDefaultValue
const Aws::String & GetDefaultValue() const
Definition: CreateVariableRequest.h:147
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::CreateVariableRequest::SetDefaultValue
void SetDefaultValue(const Aws::String &value)
Definition: CreateVariableRequest.h:157
Aws::FraudDetector::Model::CreateVariableRequest::WithDescription
CreateVariableRequest & WithDescription(const char *value)
Definition: CreateVariableRequest.h:223
Aws::FraudDetector::Model::CreateVariableRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateVariableRequest.h:352
Aws::FraudDetector::Model::CreateVariableRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateVariableRequest.h:188
Aws::FraudDetector::Model::CreateVariableRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::CreateVariableRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateVariableRequest.h:59
Aws::FraudDetector::Model::CreateVariableRequest::WithName
CreateVariableRequest & WithName(const char *value)
Definition: CreateVariableRequest.h:79
Aws::FraudDetector::Model::CreateVariableRequest::WithTags
CreateVariableRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateVariableRequest.h:362
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::CreateVariableRequest::WithDefaultValue
CreateVariableRequest & WithDefaultValue(const Aws::String &value)
Definition: CreateVariableRequest.h:172
Aws::FraudDetector::Model::CreateVariableRequest::VariableTypeHasBeenSet
bool VariableTypeHasBeenSet() const
Definition: CreateVariableRequest.h:252
Aws::FraudDetector::Model::CreateVariableRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateVariableRequest.h:342
Aws::FraudDetector::Model::DataSource
DataSource
Definition: DataSource.h:17
Aws::FraudDetector::Model::CreateVariableRequest::WithDescription
CreateVariableRequest & WithDescription(const Aws::String &value)
Definition: CreateVariableRequest.h:213
Aws::FraudDetector::Model::CreateVariableRequest::WithName
CreateVariableRequest & WithName(const Aws::String &value)
Definition: CreateVariableRequest.h:69
Aws::FraudDetector::Model::CreateVariableRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateVariableRequest.h:193
Aws::FraudDetector::Model::CreateVariableRequest::WithVariableType
CreateVariableRequest & WithVariableType(const char *value)
Definition: CreateVariableRequest.h:336