/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/frauddetector/FraudDetector_EXPORTS.h> #include <aws/frauddetector/FraudDetectorRequest.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace FraudDetector { namespace Model { /** */ class BatchGetVariableRequest : public FraudDetectorRequest { public: AWS_FRAUDDETECTOR_API BatchGetVariableRequest(); // 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 "BatchGetVariable"; } AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override; AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * <p>The list of variable names to get.</p> */ inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; } /** * <p>The list of variable names to get.</p> */ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** * <p>The list of variable names to get.</p> */ inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; } /** * <p>The list of variable names to get.</p> */ inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); } /** * <p>The list of variable names to get.</p> */ inline BatchGetVariableRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;} /** * <p>The list of variable names to get.</p> */ inline BatchGetVariableRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;} /** * <p>The list of variable names to get.</p> */ inline BatchGetVariableRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** * <p>The list of variable names to get.</p> */ inline BatchGetVariableRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** * <p>The list of variable names to get.</p> */ inline BatchGetVariableRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } private: Aws::Vector<Aws::String> m_names; bool m_namesHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws