/** * 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 StorageGateway { namespace Model { /** */ class AddUploadBufferRequest : public StorageGatewayRequest { public: AWS_STORAGEGATEWAY_API AddUploadBufferRequest(); // 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 "AddUploadBuffer"; } AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override; AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; } inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; } inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; } inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); } inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); } inline AddUploadBufferRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} inline AddUploadBufferRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} inline AddUploadBufferRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;} /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline const Aws::Vector& GetDiskIds() const{ return m_diskIds; } /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline bool DiskIdsHasBeenSet() const { return m_diskIdsHasBeenSet; } /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline void SetDiskIds(const Aws::Vector& value) { m_diskIdsHasBeenSet = true; m_diskIds = value; } /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline void SetDiskIds(Aws::Vector&& value) { m_diskIdsHasBeenSet = true; m_diskIds = std::move(value); } /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline AddUploadBufferRequest& WithDiskIds(const Aws::Vector& value) { SetDiskIds(value); return *this;} /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline AddUploadBufferRequest& WithDiskIds(Aws::Vector&& value) { SetDiskIds(std::move(value)); return *this;} /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline AddUploadBufferRequest& AddDiskIds(const Aws::String& value) { m_diskIdsHasBeenSet = true; m_diskIds.push_back(value); return *this; } /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline AddUploadBufferRequest& AddDiskIds(Aws::String&& value) { m_diskIdsHasBeenSet = true; m_diskIds.push_back(std::move(value)); return *this; } /** *

An array of strings that identify disks that are to be configured as working * storage. Each string has a minimum length of 1 and maximum length of 300. You * can get the disk IDs from the ListLocalDisks API.

*/ inline AddUploadBufferRequest& AddDiskIds(const char* value) { m_diskIdsHasBeenSet = true; m_diskIds.push_back(value); return *this; } private: Aws::String m_gatewayARN; bool m_gatewayARNHasBeenSet = false; Aws::Vector m_diskIds; bool m_diskIdsHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws