AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 UpdateListRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
58 inline const Aws::Vector<Aws::String>& GetElements() const { return m_elements; }
59 inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; }
60 template<typename ElementsT = Aws::Vector<Aws::String>>
61 void SetElements(ElementsT&& value) { m_elementsHasBeenSet = true; m_elements = std::forward<ElementsT>(value); }
62 template<typename ElementsT = Aws::Vector<Aws::String>>
63 UpdateListRequest& WithElements(ElementsT&& value) { SetElements(std::forward<ElementsT>(value)); return *this;}
64 template<typename ElementsT = Aws::String>
65 UpdateListRequest& AddElements(ElementsT&& value) { m_elementsHasBeenSet = true; m_elements.emplace_back(std::forward<ElementsT>(value)); return *this; }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 UpdateListRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
87 inline ListUpdateMode GetUpdateMode() const { return m_updateMode; }
88 inline bool UpdateModeHasBeenSet() const { return m_updateModeHasBeenSet; }
89 inline void SetUpdateMode(ListUpdateMode value) { m_updateModeHasBeenSet = true; m_updateMode = value; }
90 inline UpdateListRequest& WithUpdateMode(ListUpdateMode value) { SetUpdateMode(value); return *this;}
92
94
100 inline const Aws::String& GetVariableType() const { return m_variableType; }
101 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
102 template<typename VariableTypeT = Aws::String>
103 void SetVariableType(VariableTypeT&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::forward<VariableTypeT>(value); }
104 template<typename VariableTypeT = Aws::String>
105 UpdateListRequest& WithVariableType(VariableTypeT&& value) { SetVariableType(std::forward<VariableTypeT>(value)); return *this;}
107 private:
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_elements;
113 bool m_elementsHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
119 bool m_updateModeHasBeenSet = false;
120
121 Aws::String m_variableType;
122 bool m_variableTypeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace FraudDetector
127} // namespace Aws
const Aws::Vector< Aws::String > & GetElements() const
UpdateListRequest & WithDescription(DescriptionT &&value)
UpdateListRequest & WithUpdateMode(ListUpdateMode value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateListRequest & WithVariableType(VariableTypeT &&value)
AWS_FRAUDDETECTOR_API UpdateListRequest()=default
UpdateListRequest & WithElements(ElementsT &&value)
UpdateListRequest & WithName(NameT &&value)
UpdateListRequest & AddElements(ElementsT &&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