AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVariableEntries(const Aws::Vector<VariableEntry>& value) { m_variableEntriesHasBeenSet = true; m_variableEntries = value; }
46 inline void SetVariableEntries(Aws::Vector<VariableEntry>&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries = std::move(value); }
49 inline BatchCreateVariableRequest& AddVariableEntries(const VariableEntry& value) { m_variableEntriesHasBeenSet = true; m_variableEntries.push_back(value); return *this; }
50 inline BatchCreateVariableRequest& AddVariableEntries(VariableEntry&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries.push_back(std::move(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 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
60 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
61 inline BatchCreateVariableRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
62 inline BatchCreateVariableRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
63 inline BatchCreateVariableRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
64 inline BatchCreateVariableRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(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 & WithVariableEntries(Aws::Vector< VariableEntry > &&value)
BatchCreateVariableRequest & WithTags(const Aws::Vector< Tag > &value)
BatchCreateVariableRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< VariableEntry > & GetVariableEntries() const
BatchCreateVariableRequest & AddTags(const Tag &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchCreateVariableRequest & WithVariableEntries(const Aws::Vector< VariableEntry > &value)
BatchCreateVariableRequest & AddVariableEntries(const VariableEntry &value)
BatchCreateVariableRequest & AddVariableEntries(VariableEntry &&value)
void SetVariableEntries(const Aws::Vector< VariableEntry > &value)
void SetVariableEntries(Aws::Vector< VariableEntry > &&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