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

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline DescribeRaidArraysRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline DescribeRaidArraysRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The instance ID. If you use this parameter, DescribeRaidArrays * returns descriptions of the RAID arrays associated with the specified instance. *

*/ inline DescribeRaidArraysRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

The stack ID.

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

The stack ID.

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

The stack ID.

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

The stack ID.

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

The stack ID.

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

The stack ID.

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

The stack ID.

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

The stack ID.

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

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline const Aws::Vector& GetRaidArrayIds() const{ return m_raidArrayIds; } /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline bool RaidArrayIdsHasBeenSet() const { return m_raidArrayIdsHasBeenSet; } /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline void SetRaidArrayIds(const Aws::Vector& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds = value; } /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline void SetRaidArrayIds(Aws::Vector&& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds = std::move(value); } /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline DescribeRaidArraysRequest& WithRaidArrayIds(const Aws::Vector& value) { SetRaidArrayIds(value); return *this;} /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline DescribeRaidArraysRequest& WithRaidArrayIds(Aws::Vector&& value) { SetRaidArrayIds(std::move(value)); return *this;} /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline DescribeRaidArraysRequest& AddRaidArrayIds(const Aws::String& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(value); return *this; } /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline DescribeRaidArraysRequest& AddRaidArrayIds(Aws::String&& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(std::move(value)); return *this; } /** *

An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified arrays. * Otherwise, it returns a description of every array.

*/ inline DescribeRaidArraysRequest& AddRaidArrayIds(const char* value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(value); return *this; } private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_stackId; bool m_stackIdHasBeenSet = false; Aws::Vector m_raidArrayIds; bool m_raidArrayIdsHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws