AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 CreateListRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline CreateListRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline CreateListRequest& 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 CreateListRequest& WithElements(const Aws::Vector<Aws::String>& value) { SetElements(value); return *this;}
65 inline CreateListRequest& WithElements(Aws::Vector<Aws::String>&& value) { SetElements(std::move(value)); return *this;}
66 inline CreateListRequest& AddElements(const Aws::String& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; }
67 inline CreateListRequest& AddElements(Aws::String&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; }
68 inline CreateListRequest& AddElements(const char* value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; }
70
72
78 inline const Aws::String& GetVariableType() const{ return m_variableType; }
79 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
80 inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
81 inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
82 inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
83 inline CreateListRequest& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
84 inline CreateListRequest& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
85 inline CreateListRequest& WithVariableType(const char* value) { SetVariableType(value); return *this;}
87
89
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 inline CreateListRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline CreateListRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline CreateListRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
101
103
106 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
107 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
108 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
109 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
110 inline CreateListRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
111 inline CreateListRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
112 inline CreateListRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
113 inline CreateListRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
115 private:
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::Vector<Aws::String> m_elements;
121 bool m_elementsHasBeenSet = false;
122
123 Aws::String m_variableType;
124 bool m_variableTypeHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::Vector<Tag> m_tags;
130 bool m_tagsHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace FraudDetector
135} // namespace Aws
CreateListRequest & WithDescription(const char *value)
CreateListRequest & WithVariableType(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateListRequest & WithDescription(Aws::String &&value)
CreateListRequest & WithTags(Aws::Vector< Tag > &&value)
CreateListRequest & WithName(Aws::String &&value)
CreateListRequest & WithName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateListRequest & WithDescription(const Aws::String &value)
void SetElements(Aws::Vector< Aws::String > &&value)
CreateListRequest & AddTags(Tag &&value)
CreateListRequest & AddElements(Aws::String &&value)
CreateListRequest & WithElements(Aws::Vector< Aws::String > &&value)
CreateListRequest & WithName(const char *value)
void SetElements(const Aws::Vector< Aws::String > &value)
CreateListRequest & WithTags(const Aws::Vector< Tag > &value)
void SetDescription(const Aws::String &value)
CreateListRequest & WithVariableType(const char *value)
void SetVariableType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetElements() const
CreateListRequest & AddElements(const char *value)
CreateListRequest & WithVariableType(Aws::String &&value)
CreateListRequest & AddElements(const Aws::String &value)
CreateListRequest & WithElements(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Tag > & GetTags() const
CreateListRequest & AddTags(const Tag &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