AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchCreateVariableRequest.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/AWSVector.h>
10#include <aws/frauddetector/model/VariableEntry.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 BatchCreateVariableRequest() = 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 "BatchCreateVariable"; }
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::Vector<VariableEntry>& GetVariableEntries() const { return m_variableEntries; }
44 inline bool VariableEntriesHasBeenSet() const { return m_variableEntriesHasBeenSet; }
45 template<typename VariableEntriesT = Aws::Vector<VariableEntry>>
46 void SetVariableEntries(VariableEntriesT&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries = std::forward<VariableEntriesT>(value); }
47 template<typename VariableEntriesT = Aws::Vector<VariableEntry>>
48 BatchCreateVariableRequest& WithVariableEntries(VariableEntriesT&& value) { SetVariableEntries(std::forward<VariableEntriesT>(value)); return *this;}
49 template<typename VariableEntriesT = VariableEntry>
50 BatchCreateVariableRequest& AddVariableEntries(VariableEntriesT&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries.emplace_back(std::forward<VariableEntriesT>(value)); return *this; }
52
54
57 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
58 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
59 template<typename TagsT = Aws::Vector<Tag>>
60 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
61 template<typename TagsT = Aws::Vector<Tag>>
62 BatchCreateVariableRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
63 template<typename TagsT = Tag>
64 BatchCreateVariableRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
66 private:
67
68 Aws::Vector<VariableEntry> m_variableEntries;
69 bool m_variableEntriesHasBeenSet = false;
70
71 Aws::Vector<Tag> m_tags;
72 bool m_tagsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FraudDetector
77} // namespace Aws
BatchCreateVariableRequest & AddTags(TagsT &&value)
const Aws::Vector< VariableEntry > & GetVariableEntries() const
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchCreateVariableRequest & WithTags(TagsT &&value)
AWS_FRAUDDETECTOR_API BatchCreateVariableRequest()=default
BatchCreateVariableRequest & WithVariableEntries(VariableEntriesT &&value)
BatchCreateVariableRequest & AddVariableEntries(VariableEntriesT &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
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