/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace FraudDetector { namespace Model { /** */ class BatchCreateVariableRequest : public FraudDetectorRequest { public: AWS_FRAUDDETECTOR_API BatchCreateVariableRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchCreateVariable"; } AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override; AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The list of variables for the batch create variable request.

*/ inline const Aws::Vector& GetVariableEntries() const{ return m_variableEntries; } /** *

The list of variables for the batch create variable request.

*/ inline bool VariableEntriesHasBeenSet() const { return m_variableEntriesHasBeenSet; } /** *

The list of variables for the batch create variable request.

*/ inline void SetVariableEntries(const Aws::Vector& value) { m_variableEntriesHasBeenSet = true; m_variableEntries = value; } /** *

The list of variables for the batch create variable request.

*/ inline void SetVariableEntries(Aws::Vector&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries = std::move(value); } /** *

The list of variables for the batch create variable request.

*/ inline BatchCreateVariableRequest& WithVariableEntries(const Aws::Vector& value) { SetVariableEntries(value); return *this;} /** *

The list of variables for the batch create variable request.

*/ inline BatchCreateVariableRequest& WithVariableEntries(Aws::Vector&& value) { SetVariableEntries(std::move(value)); return *this;} /** *

The list of variables for the batch create variable request.

*/ inline BatchCreateVariableRequest& AddVariableEntries(const VariableEntry& value) { m_variableEntriesHasBeenSet = true; m_variableEntries.push_back(value); return *this; } /** *

The list of variables for the batch create variable request.

*/ inline BatchCreateVariableRequest& AddVariableEntries(VariableEntry&& value) { m_variableEntriesHasBeenSet = true; m_variableEntries.push_back(std::move(value)); return *this; } /** *

A collection of key and value pairs.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A collection of key and value pairs.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A collection of key and value pairs.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A collection of key and value pairs.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A collection of key and value pairs.

*/ inline BatchCreateVariableRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A collection of key and value pairs.

*/ inline BatchCreateVariableRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A collection of key and value pairs.

*/ inline BatchCreateVariableRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A collection of key and value pairs.

*/ inline BatchCreateVariableRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::Vector m_variableEntries; bool m_variableEntriesHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws