/** * 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 Http { class URI; } //namespace Http namespace Omics { namespace Model { /** */ class ListReadSetUploadPartsRequest : public OmicsRequest { public: AWS_OMICS_API ListReadSetUploadPartsRequest(); // 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 "ListReadSetUploadParts"; } AWS_OMICS_API Aws::String SerializePayload() const override; AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Sequence Store ID used for the multipart uploads.

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

The Sequence Store ID used for the multipart uploads.

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

The Sequence Store ID used for the multipart uploads.

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

The Sequence Store ID used for the multipart uploads.

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

The Sequence Store ID used for the multipart uploads.

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

The Sequence Store ID used for the multipart uploads.

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

The Sequence Store ID used for the multipart uploads.

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

The Sequence Store ID used for the multipart uploads.

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

The ID for the initiated multipart upload.

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

The ID for the initiated multipart upload.

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

The ID for the initiated multipart upload.

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

The ID for the initiated multipart upload.

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

The ID for the initiated multipart upload.

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

The ID for the initiated multipart upload.

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

The ID for the initiated multipart upload.

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

The ID for the initiated multipart upload.

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

The source file for the upload part.

*/ inline const ReadSetPartSource& GetPartSource() const{ return m_partSource; } /** *

The source file for the upload part.

*/ inline bool PartSourceHasBeenSet() const { return m_partSourceHasBeenSet; } /** *

The source file for the upload part.

*/ inline void SetPartSource(const ReadSetPartSource& value) { m_partSourceHasBeenSet = true; m_partSource = value; } /** *

The source file for the upload part.

*/ inline void SetPartSource(ReadSetPartSource&& value) { m_partSourceHasBeenSet = true; m_partSource = std::move(value); } /** *

The source file for the upload part.

*/ inline ListReadSetUploadPartsRequest& WithPartSource(const ReadSetPartSource& value) { SetPartSource(value); return *this;} /** *

The source file for the upload part.

*/ inline ListReadSetUploadPartsRequest& WithPartSource(ReadSetPartSource&& value) { SetPartSource(std::move(value)); return *this;} /** *

The maximum number of read set upload parts returned in a page.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of read set upload parts returned in a page.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of read set upload parts returned in a page.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of read set upload parts returned in a page.

*/ inline ListReadSetUploadPartsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline ListReadSetUploadPartsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline ListReadSetUploadPartsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Next token returned in the response of a previous * ListReadSetUploadPartsRequest call. Used to get the next page of results.

*/ inline ListReadSetUploadPartsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Attributes used to filter for a specific subset of read set part uploads. *

*/ inline const ReadSetUploadPartListFilter& GetFilter() const{ return m_filter; } /** *

Attributes used to filter for a specific subset of read set part uploads. *

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

Attributes used to filter for a specific subset of read set part uploads. *

*/ inline void SetFilter(const ReadSetUploadPartListFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

Attributes used to filter for a specific subset of read set part uploads. *

*/ inline void SetFilter(ReadSetUploadPartListFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

Attributes used to filter for a specific subset of read set part uploads. *

*/ inline ListReadSetUploadPartsRequest& WithFilter(const ReadSetUploadPartListFilter& value) { SetFilter(value); return *this;} /** *

Attributes used to filter for a specific subset of read set part uploads. *

*/ inline ListReadSetUploadPartsRequest& WithFilter(ReadSetUploadPartListFilter&& value) { SetFilter(std::move(value)); return *this;} private: Aws::String m_sequenceStoreId; bool m_sequenceStoreIdHasBeenSet = false; Aws::String m_uploadId; bool m_uploadIdHasBeenSet = false; ReadSetPartSource m_partSource; bool m_partSourceHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; ReadSetUploadPartListFilter m_filter; bool m_filterHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws