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

The reference's ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The reference's ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The reference's ID.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The reference's ID.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The reference's ID.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The reference's ID.

*/ inline GetReferenceRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The reference's ID.

*/ inline GetReferenceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The reference's ID.

*/ inline GetReferenceRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The reference's store ID.

*/ inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; } /** *

The reference's store ID.

*/ inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; } /** *

The reference's store ID.

*/ inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = value; } /** *

The reference's store ID.

*/ inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::move(value); } /** *

The reference's store ID.

*/ inline void SetReferenceStoreId(const char* value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId.assign(value); } /** *

The reference's store ID.

*/ inline GetReferenceRequest& WithReferenceStoreId(const Aws::String& value) { SetReferenceStoreId(value); return *this;} /** *

The reference's store ID.

*/ inline GetReferenceRequest& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;} /** *

The reference's store ID.

*/ inline GetReferenceRequest& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;} /** *

The range to retrieve.

*/ inline const Aws::String& GetRange() const{ return m_range; } /** *

The range to retrieve.

*/ inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } /** *

The range to retrieve.

*/ inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; } /** *

The range to retrieve.

*/ inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); } /** *

The range to retrieve.

*/ inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); } /** *

The range to retrieve.

*/ inline GetReferenceRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;} /** *

The range to retrieve.

*/ inline GetReferenceRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;} /** *

The range to retrieve.

*/ inline GetReferenceRequest& WithRange(const char* value) { SetRange(value); return *this;} /** *

The part number to retrieve.

*/ inline int GetPartNumber() const{ return m_partNumber; } /** *

The part number to retrieve.

*/ inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } /** *

The part number to retrieve.

*/ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** *

The part number to retrieve.

*/ inline GetReferenceRequest& WithPartNumber(int value) { SetPartNumber(value); return *this;} /** *

The file to retrieve.

*/ inline const ReferenceFile& GetFile() const{ return m_file; } /** *

The file to retrieve.

*/ inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } /** *

The file to retrieve.

*/ inline void SetFile(const ReferenceFile& value) { m_fileHasBeenSet = true; m_file = value; } /** *

The file to retrieve.

*/ inline void SetFile(ReferenceFile&& value) { m_fileHasBeenSet = true; m_file = std::move(value); } /** *

The file to retrieve.

*/ inline GetReferenceRequest& WithFile(const ReferenceFile& value) { SetFile(value); return *this;} /** *

The file to retrieve.

*/ inline GetReferenceRequest& WithFile(ReferenceFile&& value) { SetFile(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_referenceStoreId; bool m_referenceStoreIdHasBeenSet = false; Aws::String m_range; bool m_rangeHasBeenSet = false; int m_partNumber; bool m_partNumberHasBeenSet = false; ReferenceFile m_file; bool m_fileHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws