/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Omics { namespace Model { /** */ class CompleteMultipartReadSetUploadRequest : public OmicsRequest { public: AWS_OMICS_API CompleteMultipartReadSetUploadRequest(); // 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 "CompleteMultipartReadSetUpload"; } AWS_OMICS_API Aws::String SerializePayload() const override; /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline const Aws::String& GetSequenceStoreId() const{ return m_sequenceStoreId; } /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; } /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline void SetSequenceStoreId(const Aws::String& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = value; } /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline void SetSequenceStoreId(Aws::String&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::move(value); } /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline void SetSequenceStoreId(const char* value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId.assign(value); } /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithSequenceStoreId(const Aws::String& value) { SetSequenceStoreId(value); return *this;} /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithSequenceStoreId(Aws::String&& value) { SetSequenceStoreId(std::move(value)); return *this;} /** *

The sequence store ID for the store involved in the multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithSequenceStoreId(const char* value) { SetSequenceStoreId(value); return *this;} /** *

The ID for the multipart upload.

*/ inline const Aws::String& GetUploadId() const{ return m_uploadId; } /** *

The ID for the multipart upload.

*/ inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } /** *

The ID for the multipart upload.

*/ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } /** *

The ID for the multipart upload.

*/ inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); } /** *

The ID for the multipart upload.

*/ inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); } /** *

The ID for the multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;} /** *

The ID for the multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;} /** *

The ID for the multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;} /** *

The individual uploads or parts of a multipart upload.

*/ inline const Aws::Vector& GetParts() const{ return m_parts; } /** *

The individual uploads or parts of a multipart upload.

*/ inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; } /** *

The individual uploads or parts of a multipart upload.

*/ inline void SetParts(const Aws::Vector& value) { m_partsHasBeenSet = true; m_parts = value; } /** *

The individual uploads or parts of a multipart upload.

*/ inline void SetParts(Aws::Vector&& value) { m_partsHasBeenSet = true; m_parts = std::move(value); } /** *

The individual uploads or parts of a multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithParts(const Aws::Vector& value) { SetParts(value); return *this;} /** *

The individual uploads or parts of a multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& WithParts(Aws::Vector&& value) { SetParts(std::move(value)); return *this;} /** *

The individual uploads or parts of a multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& AddParts(const CompleteReadSetUploadPartListItem& value) { m_partsHasBeenSet = true; m_parts.push_back(value); return *this; } /** *

The individual uploads or parts of a multipart upload.

*/ inline CompleteMultipartReadSetUploadRequest& AddParts(CompleteReadSetUploadPartListItem&& value) { m_partsHasBeenSet = true; m_parts.push_back(std::move(value)); return *this; } private: Aws::String m_sequenceStoreId; bool m_sequenceStoreIdHasBeenSet = false; Aws::String m_uploadId; bool m_uploadIdHasBeenSet = false; Aws::Vector m_parts; bool m_partsHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws