/** * 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 { template class AmazonWebServiceResult; namespace Omics { namespace Model { class GetReferenceResult { public: AWS_OMICS_API GetReferenceResult(); //We have to define these because Microsoft doesn't auto generate them AWS_OMICS_API GetReferenceResult(GetReferenceResult&&); AWS_OMICS_API GetReferenceResult& operator=(GetReferenceResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetReferenceResult(const GetReferenceResult&) = delete; GetReferenceResult& operator=(const GetReferenceResult&) = delete; AWS_OMICS_API GetReferenceResult(Aws::AmazonWebServiceResult&& result); AWS_OMICS_API GetReferenceResult& operator=(Aws::AmazonWebServiceResult&& result); /** *

The reference file payload.

*/ inline Aws::IOStream& GetPayload() const { return m_payload.GetUnderlyingStream(); } /** *

The reference file payload.

*/ inline void ReplaceBody(Aws::IOStream* body) { m_payload = Aws::Utils::Stream::ResponseStream(body); } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetReferenceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetReferenceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetReferenceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::Stream::ResponseStream m_payload; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws