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/route53/Route53_EXPORTS.h> 8 #include <aws/route53/model/HostedZone.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 Route53 24 { 25 namespace Model 26 { 27 /** 28 * <p>A complex type that contains the response to the 29 * <code>UpdateHostedZoneComment</code> request.</p><p><h3>See Also:</h3> <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneCommentResponse">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_ROUTE53_API UpdateHostedZoneCommentResult 34 { 35 public: 36 UpdateHostedZoneCommentResult(); 37 UpdateHostedZoneCommentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 38 UpdateHostedZoneCommentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 39 40 41 /** 42 * <p>A complex type that contains the response to the 43 * <code>UpdateHostedZoneComment</code> request.</p> 44 */ GetHostedZone()45 inline const HostedZone& GetHostedZone() const{ return m_hostedZone; } 46 47 /** 48 * <p>A complex type that contains the response to the 49 * <code>UpdateHostedZoneComment</code> request.</p> 50 */ SetHostedZone(const HostedZone & value)51 inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; } 52 53 /** 54 * <p>A complex type that contains the response to the 55 * <code>UpdateHostedZoneComment</code> request.</p> 56 */ SetHostedZone(HostedZone && value)57 inline void SetHostedZone(HostedZone&& value) { m_hostedZone = std::move(value); } 58 59 /** 60 * <p>A complex type that contains the response to the 61 * <code>UpdateHostedZoneComment</code> request.</p> 62 */ WithHostedZone(const HostedZone & value)63 inline UpdateHostedZoneCommentResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;} 64 65 /** 66 * <p>A complex type that contains the response to the 67 * <code>UpdateHostedZoneComment</code> request.</p> 68 */ WithHostedZone(HostedZone && value)69 inline UpdateHostedZoneCommentResult& WithHostedZone(HostedZone&& value) { SetHostedZone(std::move(value)); return *this;} 70 71 private: 72 73 HostedZone m_hostedZone; 74 }; 75 76 } // namespace Model 77 } // namespace Route53 78 } // namespace Aws 79