1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/s3-crt/S3Crt_EXPORTS.h> 8 #include <aws/s3-crt/model/RequestCharged.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Xml 19 { 20 class XmlDocument; 21 } // namespace Xml 22 } // namespace Utils 23 namespace S3Crt 24 { 25 namespace Model 26 { 27 class AWS_S3CRT_API AbortMultipartUploadResult 28 { 29 public: 30 AbortMultipartUploadResult(); 31 AbortMultipartUploadResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 32 AbortMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 33 34 35 GetRequestCharged()36 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; } 37 38 SetRequestCharged(const RequestCharged & value)39 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; } 40 41 SetRequestCharged(RequestCharged && value)42 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); } 43 44 WithRequestCharged(const RequestCharged & value)45 inline AbortMultipartUploadResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} 46 47 WithRequestCharged(RequestCharged && value)48 inline AbortMultipartUploadResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} 49 50 private: 51 52 RequestCharged m_requestCharged; 53 }; 54 55 } // namespace Model 56 } // namespace S3Crt 57 } // namespace Aws 58