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

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline const Aws::Vector& GetStackIds() const{ return m_stackIds; } /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline bool StackIdsHasBeenSet() const { return m_stackIdsHasBeenSet; } /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline void SetStackIds(const Aws::Vector& value) { m_stackIdsHasBeenSet = true; m_stackIds = value; } /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline void SetStackIds(Aws::Vector&& value) { m_stackIdsHasBeenSet = true; m_stackIds = std::move(value); } /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline DescribeStacksRequest& WithStackIds(const Aws::Vector& value) { SetStackIds(value); return *this;} /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline DescribeStacksRequest& WithStackIds(Aws::Vector&& value) { SetStackIds(std::move(value)); return *this;} /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline DescribeStacksRequest& AddStackIds(const Aws::String& value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(value); return *this; } /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline DescribeStacksRequest& AddStackIds(Aws::String&& value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(std::move(value)); return *this; } /** *

An array of stack IDs that specify the stacks to be described. If you omit * this parameter, DescribeStacks returns a description of every * stack.

*/ inline DescribeStacksRequest& AddStackIds(const char* value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(value); return *this; } private: Aws::Vector m_stackIds; bool m_stackIdsHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws