/** * 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 DescribeElasticLoadBalancersRequest : public OpsWorksRequest { public: AWS_OPSWORKS_API DescribeElasticLoadBalancersRequest(); // 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 "DescribeElasticLoadBalancers"; } AWS_OPSWORKS_API Aws::String SerializePayload() const override; AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline DescribeElasticLoadBalancersRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline DescribeElasticLoadBalancersRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *

A stack ID. The action describes the stack's Elastic Load Balancing * instances.

*/ inline DescribeElasticLoadBalancersRequest& WithStackId(const char* value) { SetStackId(value); return *this;} /** *

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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

A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers.

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