/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace OpsWorks { namespace Model { /** */ class DescribeLoadBasedAutoScalingRequest : public OpsWorksRequest { public: AWS_OPSWORKS_API DescribeLoadBasedAutoScalingRequest(); // 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 "DescribeLoadBasedAutoScaling"; } AWS_OPSWORKS_API Aws::String SerializePayload() const override; AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array of layer IDs.

*/ inline const Aws::Vector& GetLayerIds() const{ return m_layerIds; } /** *

An array of layer IDs.

*/ inline bool LayerIdsHasBeenSet() const { return m_layerIdsHasBeenSet; } /** *

An array of layer IDs.

*/ inline void SetLayerIds(const Aws::Vector& value) { m_layerIdsHasBeenSet = true; m_layerIds = value; } /** *

An array of layer IDs.

*/ inline void SetLayerIds(Aws::Vector&& value) { m_layerIdsHasBeenSet = true; m_layerIds = std::move(value); } /** *

An array of layer IDs.

*/ inline DescribeLoadBasedAutoScalingRequest& WithLayerIds(const Aws::Vector& value) { SetLayerIds(value); return *this;} /** *

An array of layer IDs.

*/ inline DescribeLoadBasedAutoScalingRequest& WithLayerIds(Aws::Vector&& value) { SetLayerIds(std::move(value)); return *this;} /** *

An array of layer IDs.

*/ inline DescribeLoadBasedAutoScalingRequest& AddLayerIds(const Aws::String& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; } /** *

An array of layer IDs.

*/ inline DescribeLoadBasedAutoScalingRequest& AddLayerIds(Aws::String&& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(std::move(value)); return *this; } /** *

An array of layer IDs.

*/ inline DescribeLoadBasedAutoScalingRequest& AddLayerIds(const char* value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; } private: Aws::Vector m_layerIds; bool m_layerIdsHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws