AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateVariableRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace FraudDetector
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateVariable"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline UpdateVariableRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline UpdateVariableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline UpdateVariableRequest& WithName(const char* value) { SetName(value); return *this;}
76 
77 
81  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
82 
86  inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
87 
91  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
92 
96  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
97 
101  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
102 
106  inline UpdateVariableRequest& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
107 
111  inline UpdateVariableRequest& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
112 
116  inline UpdateVariableRequest& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateVariableRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateVariableRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateVariableRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159 
165  inline const Aws::String& GetVariableType() const{ return m_variableType; }
166 
172  inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
173 
179  inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
180 
186  inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
187 
193  inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
194 
200  inline UpdateVariableRequest& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
201 
207  inline UpdateVariableRequest& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
208 
214  inline UpdateVariableRequest& WithVariableType(const char* value) { SetVariableType(value); return *this;}
215 
216  private:
217 
218  Aws::String m_name;
219  bool m_nameHasBeenSet;
220 
221  Aws::String m_defaultValue;
222  bool m_defaultValueHasBeenSet;
223 
224  Aws::String m_description;
225  bool m_descriptionHasBeenSet;
226 
227  Aws::String m_variableType;
228  bool m_variableTypeHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace FraudDetector
233 } // namespace Aws
FraudDetectorRequest.h
Aws::FraudDetector::Model::UpdateVariableRequest::WithDescription
UpdateVariableRequest & WithDescription(const Aws::String &value)
Definition: UpdateVariableRequest.h:147
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::UpdateVariableRequest::WithName
UpdateVariableRequest & WithName(const Aws::String &value)
Definition: UpdateVariableRequest.h:65
Aws::FraudDetector::Model::UpdateVariableRequest::WithVariableType
UpdateVariableRequest & WithVariableType(const Aws::String &value)
Definition: UpdateVariableRequest.h:200
Aws::FraudDetector::Model::UpdateVariableRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateVariableRequest.h:122
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::UpdateVariableRequest::SetDefaultValue
void SetDefaultValue(Aws::String &&value)
Definition: UpdateVariableRequest.h:96
Aws::FraudDetector::Model::UpdateVariableRequest::WithDefaultValue
UpdateVariableRequest & WithDefaultValue(Aws::String &&value)
Definition: UpdateVariableRequest.h:111
Aws::FraudDetector::Model::UpdateVariableRequest::GetVariableType
const Aws::String & GetVariableType() const
Definition: UpdateVariableRequest.h:165
Aws::FraudDetector::Model::UpdateVariableRequest::SetVariableType
void SetVariableType(const Aws::String &value)
Definition: UpdateVariableRequest.h:179
Aws::FraudDetector::Model::UpdateVariableRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateVariableRequest.h:45
Aws::FraudDetector::Model::UpdateVariableRequest::SetVariableType
void SetVariableType(const char *value)
Definition: UpdateVariableRequest.h:193
Aws::FraudDetector::Model::UpdateVariableRequest::SetName
void SetName(const char *value)
Definition: UpdateVariableRequest.h:60
Aws::FraudDetector::Model::UpdateVariableRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateVariableRequest.h:127
Aws::FraudDetector::Model::UpdateVariableRequest::SetDefaultValue
void SetDefaultValue(const char *value)
Definition: UpdateVariableRequest.h:101
Aws::FraudDetector::Model::UpdateVariableRequest::VariableTypeHasBeenSet
bool VariableTypeHasBeenSet() const
Definition: UpdateVariableRequest.h:172
Aws::FraudDetector::Model::UpdateVariableRequest::SetDefaultValue
void SetDefaultValue(const Aws::String &value)
Definition: UpdateVariableRequest.h:91
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::UpdateVariableRequest::DefaultValueHasBeenSet
bool DefaultValueHasBeenSet() const
Definition: UpdateVariableRequest.h:86
Aws::FraudDetector::Model::UpdateVariableRequest::WithName
UpdateVariableRequest & WithName(const char *value)
Definition: UpdateVariableRequest.h:75
Aws::FraudDetector::Model::UpdateVariableRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateVariableRequest.h:132
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::UpdateVariableRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateVariableRequest.h:55
Aws::FraudDetector::Model::UpdateVariableRequest::WithName
UpdateVariableRequest & WithName(Aws::String &&value)
Definition: UpdateVariableRequest.h:70
Aws::FraudDetector::Model::UpdateVariableRequest::WithDescription
UpdateVariableRequest & WithDescription(const char *value)
Definition: UpdateVariableRequest.h:157
Aws::FraudDetector::Model::UpdateVariableRequest
Definition: UpdateVariableRequest.h:22
Aws::FraudDetector::Model::UpdateVariableRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateVariableRequest.h:142
AWSString.h
Aws::FraudDetector::Model::UpdateVariableRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateVariableRequest.h:137
Aws::FraudDetector::Model::UpdateVariableRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::UpdateVariableRequest::WithDefaultValue
UpdateVariableRequest & WithDefaultValue(const char *value)
Definition: UpdateVariableRequest.h:116
Aws::FraudDetector::Model::UpdateVariableRequest::WithDefaultValue
UpdateVariableRequest & WithDefaultValue(const Aws::String &value)
Definition: UpdateVariableRequest.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::UpdateVariableRequest::WithDescription
UpdateVariableRequest & WithDescription(Aws::String &&value)
Definition: UpdateVariableRequest.h:152
Aws::FraudDetector::Model::UpdateVariableRequest::WithVariableType
UpdateVariableRequest & WithVariableType(Aws::String &&value)
Definition: UpdateVariableRequest.h:207
Aws::FraudDetector::Model::UpdateVariableRequest::WithVariableType
UpdateVariableRequest & WithVariableType(const char *value)
Definition: UpdateVariableRequest.h:214
Aws::FraudDetector::Model::UpdateVariableRequest::GetDefaultValue
const Aws::String & GetDefaultValue() const
Definition: UpdateVariableRequest.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::UpdateVariableRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateVariableRequest.h:50
Aws::FraudDetector::Model::UpdateVariableRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateVariableRequest.h:30
Aws::FraudDetector::Model::UpdateVariableRequest::SetVariableType
void SetVariableType(Aws::String &&value)
Definition: UpdateVariableRequest.h:186
Aws::FraudDetector::Model::UpdateVariableRequest::GetName
const Aws::String & GetName() const
Definition: UpdateVariableRequest.h:40
Aws::FraudDetector::Model::UpdateVariableRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::UpdateVariableRequest::UpdateVariableRequest
UpdateVariableRequest()