AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateListRequest.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/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace FraudDetector
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_FRAUDDETECTOR_API CreateListRequest() = 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 "CreateList"; }
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 CreateListRequest& 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 CreateListRequest& WithElements(ElementsT&& value) { SetElements(std::forward<ElementsT>(value)); return *this;}
64 template<typename ElementsT = Aws::String>
65 CreateListRequest& AddElements(ElementsT&& value) { m_elementsHasBeenSet = true; m_elements.emplace_back(std::forward<ElementsT>(value)); return *this; }
67
69
75 inline const Aws::String& GetVariableType() const { return m_variableType; }
76 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
77 template<typename VariableTypeT = Aws::String>
78 void SetVariableType(VariableTypeT&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::forward<VariableTypeT>(value); }
79 template<typename VariableTypeT = Aws::String>
80 CreateListRequest& WithVariableType(VariableTypeT&& value) { SetVariableType(std::forward<VariableTypeT>(value)); return *this;}
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 template<typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
91 template<typename DescriptionT = Aws::String>
92 CreateListRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
94
96
99 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
100 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
101 template<typename TagsT = Aws::Vector<Tag>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
103 template<typename TagsT = Aws::Vector<Tag>>
104 CreateListRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
105 template<typename TagsT = Tag>
106 CreateListRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
108 private:
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::Vector<Aws::String> m_elements;
114 bool m_elementsHasBeenSet = false;
115
116 Aws::String m_variableType;
117 bool m_variableTypeHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 Aws::Vector<Tag> m_tags;
123 bool m_tagsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace FraudDetector
128} // namespace Aws
AWS_FRAUDDETECTOR_API CreateListRequest()=default
CreateListRequest & AddElements(ElementsT &&value)
CreateListRequest & AddTags(TagsT &&value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateListRequest & WithName(NameT &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
CreateListRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateListRequest & WithElements(ElementsT &&value)
CreateListRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetElements() const
CreateListRequest & WithVariableType(VariableTypeT &&value)
const Aws::Vector< Tag > & GetTags() const
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