AWS SDK for C++  1.9.110
AWS SDK for C++
BatchCreateVariableRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace FraudDetector
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::Vector<VariableEntry>& GetVariableEntries() const{ return m_variableEntries; }
43 
47  inline bool VariableEntriesHasBeenSet() const { return m_variableEntriesHasBeenSet; }
48 
52  inline void SetVariableEntries(const Aws::Vector<VariableEntry>& value) { m_variableEntriesHasBeenSet = true; m_variableEntries = value; }
53 
57  inline void SetVariableEntries(Aws::Vector<VariableEntry>&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries = std::move(value); }
58 
62  inline BatchCreateVariableRequest& WithVariableEntries(const Aws::Vector<VariableEntry>& value) { SetVariableEntries(value); return *this;}
63 
67  inline BatchCreateVariableRequest& WithVariableEntries(Aws::Vector<VariableEntry>&& value) { SetVariableEntries(std::move(value)); return *this;}
68 
72  inline BatchCreateVariableRequest& AddVariableEntries(const VariableEntry& value) { m_variableEntriesHasBeenSet = true; m_variableEntries.push_back(value); return *this; }
73 
77  inline BatchCreateVariableRequest& AddVariableEntries(VariableEntry&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries.push_back(std::move(value)); return *this; }
78 
79 
83  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
84 
88  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
89 
93  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
94 
98  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
99 
103  inline BatchCreateVariableRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
104 
108  inline BatchCreateVariableRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
109 
113  inline BatchCreateVariableRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
114 
118  inline BatchCreateVariableRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
119 
120  private:
121 
122  Aws::Vector<VariableEntry> m_variableEntries;
123  bool m_variableEntriesHasBeenSet;
124 
125  Aws::Vector<Tag> m_tags;
126  bool m_tagsHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace FraudDetector
131 } // namespace Aws
Aws::FraudDetector::Model::BatchCreateVariableRequest::WithTags
BatchCreateVariableRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: BatchCreateVariableRequest.h:103
FraudDetectorRequest.h
Aws::FraudDetector::Model::BatchCreateVariableRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: BatchCreateVariableRequest.h:98
Tag.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::BatchCreateVariableRequest::GetVariableEntries
const Aws::Vector< VariableEntry > & GetVariableEntries() const
Definition: BatchCreateVariableRequest.h:42
Aws::FraudDetector::Model::BatchCreateVariableRequest::AddTags
BatchCreateVariableRequest & AddTags(Tag &&value)
Definition: BatchCreateVariableRequest.h:118
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::BatchCreateVariableRequest::AddTags
BatchCreateVariableRequest & AddTags(const Tag &value)
Definition: BatchCreateVariableRequest.h:113
VariableEntry.h
Aws::FraudDetector::Model::BatchCreateVariableRequest::SetVariableEntries
void SetVariableEntries(const Aws::Vector< VariableEntry > &value)
Definition: BatchCreateVariableRequest.h:52
Aws::FraudDetector::Model::BatchCreateVariableRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::Tag
Definition: Tag.h:32
Aws::FraudDetector::Model::BatchCreateVariableRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: BatchCreateVariableRequest.h:93
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::BatchCreateVariableRequest
Definition: BatchCreateVariableRequest.h:24
Aws::FraudDetector::Model::BatchCreateVariableRequest::VariableEntriesHasBeenSet
bool VariableEntriesHasBeenSet() const
Definition: BatchCreateVariableRequest.h:47
AWSVector.h
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::BatchCreateVariableRequest::WithVariableEntries
BatchCreateVariableRequest & WithVariableEntries(Aws::Vector< VariableEntry > &&value)
Definition: BatchCreateVariableRequest.h:67
Aws::FraudDetector::Model::BatchCreateVariableRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: BatchCreateVariableRequest.h:83
Aws::FraudDetector::Model::VariableEntry
Definition: VariableEntry.h:33
Aws::FraudDetector::Model::BatchCreateVariableRequest::BatchCreateVariableRequest
BatchCreateVariableRequest()
Aws::FraudDetector::Model::BatchCreateVariableRequest::WithTags
BatchCreateVariableRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: BatchCreateVariableRequest.h:108
Aws::FraudDetector::Model::BatchCreateVariableRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::BatchCreateVariableRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchCreateVariableRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::BatchCreateVariableRequest::AddVariableEntries
BatchCreateVariableRequest & AddVariableEntries(const VariableEntry &value)
Definition: BatchCreateVariableRequest.h:72
Aws::FraudDetector::Model::BatchCreateVariableRequest::AddVariableEntries
BatchCreateVariableRequest & AddVariableEntries(VariableEntry &&value)
Definition: BatchCreateVariableRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::BatchCreateVariableRequest::WithVariableEntries
BatchCreateVariableRequest & WithVariableEntries(const Aws::Vector< VariableEntry > &value)
Definition: BatchCreateVariableRequest.h:62
Aws::FraudDetector::Model::BatchCreateVariableRequest::SetVariableEntries
void SetVariableEntries(Aws::Vector< VariableEntry > &&value)
Definition: BatchCreateVariableRequest.h:57
Aws::FraudDetector::Model::BatchCreateVariableRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: BatchCreateVariableRequest.h:88