AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVariableRequest.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/frauddetector/model/DataType.h>
11#include <aws/frauddetector/model/DataSource.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/frauddetector/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace FraudDetector
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_FRAUDDETECTOR_API CreateVariableRequest();
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_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
37
38 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CreateVariableRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreateVariableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreateVariableRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const DataType& GetDataType() const{ return m_dataType; }
60 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
61 inline void SetDataType(const DataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
62 inline void SetDataType(DataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
63 inline CreateVariableRequest& WithDataType(const DataType& value) { SetDataType(value); return *this;}
64 inline CreateVariableRequest& WithDataType(DataType&& value) { SetDataType(std::move(value)); return *this;}
66
68
71 inline const DataSource& GetDataSource() const{ return m_dataSource; }
72 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
73 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
74 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
75 inline CreateVariableRequest& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
76 inline CreateVariableRequest& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
84 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
85 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
86 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
87 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
88 inline CreateVariableRequest& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
89 inline CreateVariableRequest& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
90 inline CreateVariableRequest& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
92
94
97 inline const Aws::String& GetDescription() const{ return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
100 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
102 inline CreateVariableRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
103 inline CreateVariableRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 inline CreateVariableRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
106
108
120 inline const Aws::String& GetVariableType() const{ return m_variableType; }
121 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
122 inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
123 inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
124 inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
125 inline CreateVariableRequest& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
126 inline CreateVariableRequest& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
127 inline CreateVariableRequest& WithVariableType(const char* value) { SetVariableType(value); return *this;}
129
131
134 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
137 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
138 inline CreateVariableRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
139 inline CreateVariableRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
140 inline CreateVariableRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
141 inline CreateVariableRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
143 private:
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 DataType m_dataType;
149 bool m_dataTypeHasBeenSet = false;
150
151 DataSource m_dataSource;
152 bool m_dataSourceHasBeenSet = false;
153
154 Aws::String m_defaultValue;
155 bool m_defaultValueHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::String m_variableType;
161 bool m_variableTypeHasBeenSet = false;
162
163 Aws::Vector<Tag> m_tags;
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace FraudDetector
169} // namespace Aws
CreateVariableRequest & AddTags(const Tag &value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
CreateVariableRequest & WithDefaultValue(Aws::String &&value)
CreateVariableRequest & WithDescription(const Aws::String &value)
CreateVariableRequest & WithDefaultValue(const char *value)
virtual const char * GetServiceRequestName() const override
CreateVariableRequest & WithName(Aws::String &&value)
CreateVariableRequest & WithVariableType(const Aws::String &value)
CreateVariableRequest & WithVariableType(const char *value)
CreateVariableRequest & WithDescription(Aws::String &&value)
CreateVariableRequest & WithVariableType(Aws::String &&value)
CreateVariableRequest & WithDescription(const char *value)
CreateVariableRequest & WithDataSource(const DataSource &value)
CreateVariableRequest & WithDataSource(DataSource &&value)
CreateVariableRequest & WithDataType(const DataType &value)
CreateVariableRequest & WithTags(const Aws::Vector< Tag > &value)
CreateVariableRequest & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateVariableRequest & WithDefaultValue(const Aws::String &value)
CreateVariableRequest & WithName(const char *value)
CreateVariableRequest & WithName(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateVariableRequest & WithDataType(DataType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector