AWS SDK for C++  1.9.67
AWS SDK for C++
PutEventTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace FraudDetector
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "PutEventType"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetName() const{ return m_name; }
43 
47  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 
52  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 
57  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 
62  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 
67  inline PutEventTypeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 
72  inline PutEventTypeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 
77  inline PutEventTypeRequest& WithName(const char* value) { SetName(value); return *this;}
78 
79 
83  inline const Aws::String& GetDescription() const{ return m_description; }
84 
88  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 
93  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
94 
98  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
99 
103  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 
108  inline PutEventTypeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 
113  inline PutEventTypeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 
118  inline PutEventTypeRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
119 
120 
124  inline const Aws::Vector<Aws::String>& GetEventVariables() const{ return m_eventVariables; }
125 
129  inline bool EventVariablesHasBeenSet() const { return m_eventVariablesHasBeenSet; }
130 
134  inline void SetEventVariables(const Aws::Vector<Aws::String>& value) { m_eventVariablesHasBeenSet = true; m_eventVariables = value; }
135 
139  inline void SetEventVariables(Aws::Vector<Aws::String>&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables = std::move(value); }
140 
144  inline PutEventTypeRequest& WithEventVariables(const Aws::Vector<Aws::String>& value) { SetEventVariables(value); return *this;}
145 
149  inline PutEventTypeRequest& WithEventVariables(Aws::Vector<Aws::String>&& value) { SetEventVariables(std::move(value)); return *this;}
150 
154  inline PutEventTypeRequest& AddEventVariables(const Aws::String& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.push_back(value); return *this; }
155 
159  inline PutEventTypeRequest& AddEventVariables(Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.push_back(std::move(value)); return *this; }
160 
164  inline PutEventTypeRequest& AddEventVariables(const char* value) { m_eventVariablesHasBeenSet = true; m_eventVariables.push_back(value); return *this; }
165 
166 
170  inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
171 
175  inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
176 
180  inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
181 
185  inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
186 
190  inline PutEventTypeRequest& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
191 
195  inline PutEventTypeRequest& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
196 
200  inline PutEventTypeRequest& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
201 
205  inline PutEventTypeRequest& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
206 
210  inline PutEventTypeRequest& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
211 
212 
217  inline const Aws::Vector<Aws::String>& GetEntityTypes() const{ return m_entityTypes; }
218 
223  inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
224 
229  inline void SetEntityTypes(const Aws::Vector<Aws::String>& value) { m_entityTypesHasBeenSet = true; m_entityTypes = value; }
230 
235  inline void SetEntityTypes(Aws::Vector<Aws::String>&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::move(value); }
236 
241  inline PutEventTypeRequest& WithEntityTypes(const Aws::Vector<Aws::String>& value) { SetEntityTypes(value); return *this;}
242 
247  inline PutEventTypeRequest& WithEntityTypes(Aws::Vector<Aws::String>&& value) { SetEntityTypes(std::move(value)); return *this;}
248 
253  inline PutEventTypeRequest& AddEntityTypes(const Aws::String& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
254 
259  inline PutEventTypeRequest& AddEntityTypes(Aws::String&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; }
260 
265  inline PutEventTypeRequest& AddEntityTypes(const char* value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
266 
267 
271  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
272 
276  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
277 
281  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
282 
286  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
287 
291  inline PutEventTypeRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
292 
296  inline PutEventTypeRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
297 
301  inline PutEventTypeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
302 
306  inline PutEventTypeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
307 
308  private:
309 
310  Aws::String m_name;
311  bool m_nameHasBeenSet;
312 
313  Aws::String m_description;
314  bool m_descriptionHasBeenSet;
315 
316  Aws::Vector<Aws::String> m_eventVariables;
317  bool m_eventVariablesHasBeenSet;
318 
319  Aws::Vector<Aws::String> m_labels;
320  bool m_labelsHasBeenSet;
321 
322  Aws::Vector<Aws::String> m_entityTypes;
323  bool m_entityTypesHasBeenSet;
324 
325  Aws::Vector<Tag> m_tags;
326  bool m_tagsHasBeenSet;
327  };
328 
329 } // namespace Model
330 } // namespace FraudDetector
331 } // namespace Aws
Aws::FraudDetector::Model::PutEventTypeRequest::WithTags
PutEventTypeRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: PutEventTypeRequest.h:291
FraudDetectorRequest.h
Aws::FraudDetector::Model::PutEventTypeRequest::WithLabels
PutEventTypeRequest & WithLabels(const Aws::Vector< Aws::String > &value)
Definition: PutEventTypeRequest.h:190
Tag.h
Aws::FraudDetector::Model::PutEventTypeRequest::WithTags
PutEventTypeRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: PutEventTypeRequest.h:296
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::PutEventTypeRequest::WithName
PutEventTypeRequest & WithName(const char *value)
Definition: PutEventTypeRequest.h:77
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::PutEventTypeRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: PutEventTypeRequest.h:98
Aws::FraudDetector::Model::PutEventTypeRequest::WithDescription
PutEventTypeRequest & WithDescription(Aws::String &&value)
Definition: PutEventTypeRequest.h:113
Aws::FraudDetector::Model::PutEventTypeRequest::SetName
void SetName(const char *value)
Definition: PutEventTypeRequest.h:62
Aws::FraudDetector::Model::PutEventTypeRequest::AddEntityTypes
PutEventTypeRequest & AddEntityTypes(const Aws::String &value)
Definition: PutEventTypeRequest.h:253
Aws::FraudDetector::Model::PutEventTypeRequest::WithEventVariables
PutEventTypeRequest & WithEventVariables(Aws::Vector< Aws::String > &&value)
Definition: PutEventTypeRequest.h:149
Aws::FraudDetector::Model::PutEventTypeRequest::EventVariablesHasBeenSet
bool EventVariablesHasBeenSet() const
Definition: PutEventTypeRequest.h:129
Aws::FraudDetector::Model::PutEventTypeRequest::AddTags
PutEventTypeRequest & AddTags(Tag &&value)
Definition: PutEventTypeRequest.h:306
Aws::FraudDetector::Model::PutEventTypeRequest::GetEventVariables
const Aws::Vector< Aws::String > & GetEventVariables() const
Definition: PutEventTypeRequest.h:124
Aws::FraudDetector::Model::PutEventTypeRequest::SetEntityTypes
void SetEntityTypes(Aws::Vector< Aws::String > &&value)
Definition: PutEventTypeRequest.h:235
Aws::FraudDetector::Model::Tag
Definition: Tag.h:32
Aws::FraudDetector::Model::PutEventTypeRequest::WithEntityTypes
PutEventTypeRequest & WithEntityTypes(Aws::Vector< Aws::String > &&value)
Definition: PutEventTypeRequest.h:247
Aws::FraudDetector::Model::PutEventTypeRequest::SetName
void SetName(Aws::String &&value)
Definition: PutEventTypeRequest.h:57
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::PutEventTypeRequest::GetDescription
const Aws::String & GetDescription() const
Definition: PutEventTypeRequest.h:83
Aws::FraudDetector::Model::PutEventTypeRequest::AddLabels
PutEventTypeRequest & AddLabels(const char *value)
Definition: PutEventTypeRequest.h:210
Aws::FraudDetector::Model::PutEventTypeRequest::SetEntityTypes
void SetEntityTypes(const Aws::Vector< Aws::String > &value)
Definition: PutEventTypeRequest.h:229
Aws::FraudDetector::Model::PutEventTypeRequest::WithDescription
PutEventTypeRequest & WithDescription(const char *value)
Definition: PutEventTypeRequest.h:118
AWSVector.h
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::PutEventTypeRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: PutEventTypeRequest.h:93
Aws::FraudDetector::Model::PutEventTypeRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: PutEventTypeRequest.h:271
Aws::FraudDetector::Model::PutEventTypeRequest::WithName
PutEventTypeRequest & WithName(const Aws::String &value)
Definition: PutEventTypeRequest.h:67
Aws::FraudDetector::Model::PutEventTypeRequest::GetLabels
const Aws::Vector< Aws::String > & GetLabels() const
Definition: PutEventTypeRequest.h:170
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::PutEventTypeRequest::WithDescription
PutEventTypeRequest & WithDescription(const Aws::String &value)
Definition: PutEventTypeRequest.h:108
Aws::FraudDetector::Model::PutEventTypeRequest::AddEntityTypes
PutEventTypeRequest & AddEntityTypes(Aws::String &&value)
Definition: PutEventTypeRequest.h:259
Aws::FraudDetector::Model::PutEventTypeRequest::WithLabels
PutEventTypeRequest & WithLabels(Aws::Vector< Aws::String > &&value)
Definition: PutEventTypeRequest.h:195
Aws::FraudDetector::Model::PutEventTypeRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: PutEventTypeRequest.h:281
Aws::FraudDetector::Model::PutEventTypeRequest
Definition: PutEventTypeRequest.h:24
Aws::FraudDetector::Model::PutEventTypeRequest::SetName
void SetName(const Aws::String &value)
Definition: PutEventTypeRequest.h:52
Aws::FraudDetector::Model::PutEventTypeRequest::GetEntityTypes
const Aws::Vector< Aws::String > & GetEntityTypes() const
Definition: PutEventTypeRequest.h:217
Aws::FraudDetector::Model::PutEventTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutEventTypeRequest.h:32
AWSString.h
Aws::FraudDetector::Model::PutEventTypeRequest::AddEventVariables
PutEventTypeRequest & AddEventVariables(Aws::String &&value)
Definition: PutEventTypeRequest.h:159
Aws::FraudDetector::Model::PutEventTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::PutEventTypeRequest::WithEventVariables
PutEventTypeRequest & WithEventVariables(const Aws::Vector< Aws::String > &value)
Definition: PutEventTypeRequest.h:144
Aws::FraudDetector::Model::PutEventTypeRequest::LabelsHasBeenSet
bool LabelsHasBeenSet() const
Definition: PutEventTypeRequest.h:175
Aws::FraudDetector::Model::PutEventTypeRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PutEventTypeRequest.h:88
Aws::FraudDetector::Model::PutEventTypeRequest::AddLabels
PutEventTypeRequest & AddLabels(Aws::String &&value)
Definition: PutEventTypeRequest.h:205
Aws::FraudDetector::Model::PutEventTypeRequest::SetLabels
void SetLabels(Aws::Vector< Aws::String > &&value)
Definition: PutEventTypeRequest.h:185
Aws::FraudDetector::Model::PutEventTypeRequest::WithName
PutEventTypeRequest & WithName(Aws::String &&value)
Definition: PutEventTypeRequest.h:72
Aws::FraudDetector::Model::PutEventTypeRequest::SetDescription
void SetDescription(const char *value)
Definition: PutEventTypeRequest.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::PutEventTypeRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: PutEventTypeRequest.h:276
Aws::FraudDetector::Model::PutEventTypeRequest::SetEventVariables
void SetEventVariables(const Aws::Vector< Aws::String > &value)
Definition: PutEventTypeRequest.h:134
Aws::FraudDetector::Model::PutEventTypeRequest::WithEntityTypes
PutEventTypeRequest & WithEntityTypes(const Aws::Vector< Aws::String > &value)
Definition: PutEventTypeRequest.h:241
Aws::FraudDetector::Model::PutEventTypeRequest::AddTags
PutEventTypeRequest & AddTags(const Tag &value)
Definition: PutEventTypeRequest.h:301
Aws::FraudDetector::Model::PutEventTypeRequest::EntityTypesHasBeenSet
bool EntityTypesHasBeenSet() const
Definition: PutEventTypeRequest.h:223
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::PutEventTypeRequest::SetEventVariables
void SetEventVariables(Aws::Vector< Aws::String > &&value)
Definition: PutEventTypeRequest.h:139
Aws::FraudDetector::Model::PutEventTypeRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PutEventTypeRequest.h:47
Aws::FraudDetector::Model::PutEventTypeRequest::PutEventTypeRequest
PutEventTypeRequest()
Aws::FraudDetector::Model::PutEventTypeRequest::SetLabels
void SetLabels(const Aws::Vector< Aws::String > &value)
Definition: PutEventTypeRequest.h:180
Aws::FraudDetector::Model::PutEventTypeRequest::AddEventVariables
PutEventTypeRequest & AddEventVariables(const Aws::String &value)
Definition: PutEventTypeRequest.h:154
Aws::FraudDetector::Model::PutEventTypeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::PutEventTypeRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: PutEventTypeRequest.h:286
Aws::FraudDetector::Model::PutEventTypeRequest::GetName
const Aws::String & GetName() const
Definition: PutEventTypeRequest.h:42
Aws::FraudDetector::Model::PutEventTypeRequest::AddLabels
PutEventTypeRequest & AddLabels(const Aws::String &value)
Definition: PutEventTypeRequest.h:200
Aws::FraudDetector::Model::PutEventTypeRequest::AddEntityTypes
PutEventTypeRequest & AddEntityTypes(const char *value)
Definition: PutEventTypeRequest.h:265
Aws::FraudDetector::Model::PutEventTypeRequest::AddEventVariables
PutEventTypeRequest & AddEventVariables(const char *value)
Definition: PutEventTypeRequest.h:164