AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateListRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/frauddetector/model/ListUpdateMode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace FraudDetector
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_FRAUDDETECTOR_API UpdateListRequest();
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 "UpdateList"; }
33
34 AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
35
36 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline UpdateListRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline UpdateListRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline UpdateListRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
60 inline const Aws::Vector<Aws::String>& GetElements() const{ return m_elements; }
61 inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; }
62 inline void SetElements(const Aws::Vector<Aws::String>& value) { m_elementsHasBeenSet = true; m_elements = value; }
63 inline void SetElements(Aws::Vector<Aws::String>&& value) { m_elementsHasBeenSet = true; m_elements = std::move(value); }
64 inline UpdateListRequest& WithElements(const Aws::Vector<Aws::String>& value) { SetElements(value); return *this;}
65 inline UpdateListRequest& WithElements(Aws::Vector<Aws::String>&& value) { SetElements(std::move(value)); return *this;}
66 inline UpdateListRequest& AddElements(const Aws::String& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; }
67 inline UpdateListRequest& AddElements(Aws::String&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; }
68 inline UpdateListRequest& AddElements(const char* value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline UpdateListRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline UpdateListRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline UpdateListRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
92 inline const ListUpdateMode& GetUpdateMode() const{ return m_updateMode; }
93 inline bool UpdateModeHasBeenSet() const { return m_updateModeHasBeenSet; }
94 inline void SetUpdateMode(const ListUpdateMode& value) { m_updateModeHasBeenSet = true; m_updateMode = value; }
95 inline void SetUpdateMode(ListUpdateMode&& value) { m_updateModeHasBeenSet = true; m_updateMode = std::move(value); }
96 inline UpdateListRequest& WithUpdateMode(const ListUpdateMode& value) { SetUpdateMode(value); return *this;}
97 inline UpdateListRequest& WithUpdateMode(ListUpdateMode&& value) { SetUpdateMode(std::move(value)); return *this;}
99
101
107 inline const Aws::String& GetVariableType() const{ return m_variableType; }
108 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
109 inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
110 inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
111 inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
112 inline UpdateListRequest& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
113 inline UpdateListRequest& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
114 inline UpdateListRequest& WithVariableType(const char* value) { SetVariableType(value); return *this;}
116 private:
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 Aws::Vector<Aws::String> m_elements;
122 bool m_elementsHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 ListUpdateMode m_updateMode;
128 bool m_updateModeHasBeenSet = false;
129
130 Aws::String m_variableType;
131 bool m_variableTypeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace FraudDetector
136} // namespace Aws
void SetElements(const Aws::Vector< Aws::String > &value)
void SetUpdateMode(const ListUpdateMode &value)
UpdateListRequest & WithElements(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetElements() const
UpdateListRequest & WithDescription(const char *value)
UpdateListRequest & AddElements(const char *value)
UpdateListRequest & WithDescription(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
UpdateListRequest & WithVariableType(const Aws::String &value)
void SetElements(Aws::Vector< Aws::String > &&value)
void SetVariableType(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateListRequest & WithElements(Aws::Vector< Aws::String > &&value)
UpdateListRequest & WithDescription(Aws::String &&value)
UpdateListRequest & WithUpdateMode(const ListUpdateMode &value)
const ListUpdateMode & GetUpdateMode() const
UpdateListRequest & WithVariableType(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateListRequest & WithVariableType(const char *value)
UpdateListRequest & AddElements(Aws::String &&value)
UpdateListRequest & WithUpdateMode(ListUpdateMode &&value)
UpdateListRequest & WithName(const char *value)
UpdateListRequest & WithName(Aws::String &&value)
UpdateListRequest & AddElements(const Aws::String &value)
UpdateListRequest & WithName(const Aws::String &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