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/email/SES_EXPORTS.h> 8 #include <aws/email/model/ResponseMetadata.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 SES 24 { 25 namespace Model 26 { 27 /** 28 * <p>An empty element returned on a successful request.</p><p><h3>See Also:</h3> 29 * <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleResponse">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_SES_API DeleteReceiptRuleResult 34 { 35 public: 36 DeleteReceiptRuleResult(); 37 DeleteReceiptRuleResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 38 DeleteReceiptRuleResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 39 40 41 GetResponseMetadata()42 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } 43 44 SetResponseMetadata(const ResponseMetadata & value)45 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } 46 47 SetResponseMetadata(ResponseMetadata && value)48 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } 49 50 WithResponseMetadata(const ResponseMetadata & value)51 inline DeleteReceiptRuleResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} 52 53 WithResponseMetadata(ResponseMetadata && value)54 inline DeleteReceiptRuleResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} 55 56 private: 57 58 ResponseMetadata m_responseMetadata; 59 }; 60 61 } // namespace Model 62 } // namespace SES 63 } // namespace Aws 64