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/rds/RDS_EXPORTS.h> 8 #include <aws/rds/model/DBClusterSnapshotAttributesResult.h> 9 #include <aws/rds/model/ResponseMetadata.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 template<typename RESULT_TYPE> 15 class AmazonWebServiceResult; 16 17 namespace Utils 18 { 19 namespace Xml 20 { 21 class XmlDocument; 22 } // namespace Xml 23 } // namespace Utils 24 namespace RDS 25 { 26 namespace Model 27 { 28 class AWS_RDS_API ModifyDBClusterSnapshotAttributeResult 29 { 30 public: 31 ModifyDBClusterSnapshotAttributeResult(); 32 ModifyDBClusterSnapshotAttributeResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 33 ModifyDBClusterSnapshotAttributeResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 34 35 36 GetDBClusterSnapshotAttributesResult()37 inline const DBClusterSnapshotAttributesResult& GetDBClusterSnapshotAttributesResult() const{ return m_dBClusterSnapshotAttributesResult; } 38 39 SetDBClusterSnapshotAttributesResult(const DBClusterSnapshotAttributesResult & value)40 inline void SetDBClusterSnapshotAttributesResult(const DBClusterSnapshotAttributesResult& value) { m_dBClusterSnapshotAttributesResult = value; } 41 42 SetDBClusterSnapshotAttributesResult(DBClusterSnapshotAttributesResult && value)43 inline void SetDBClusterSnapshotAttributesResult(DBClusterSnapshotAttributesResult&& value) { m_dBClusterSnapshotAttributesResult = std::move(value); } 44 45 WithDBClusterSnapshotAttributesResult(const DBClusterSnapshotAttributesResult & value)46 inline ModifyDBClusterSnapshotAttributeResult& WithDBClusterSnapshotAttributesResult(const DBClusterSnapshotAttributesResult& value) { SetDBClusterSnapshotAttributesResult(value); return *this;} 47 48 WithDBClusterSnapshotAttributesResult(DBClusterSnapshotAttributesResult && value)49 inline ModifyDBClusterSnapshotAttributeResult& WithDBClusterSnapshotAttributesResult(DBClusterSnapshotAttributesResult&& value) { SetDBClusterSnapshotAttributesResult(std::move(value)); return *this;} 50 51 52 GetResponseMetadata()53 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } 54 55 SetResponseMetadata(const ResponseMetadata & value)56 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } 57 58 SetResponseMetadata(ResponseMetadata && value)59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } 60 61 WithResponseMetadata(const ResponseMetadata & value)62 inline ModifyDBClusterSnapshotAttributeResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} 63 64 WithResponseMetadata(ResponseMetadata && value)65 inline ModifyDBClusterSnapshotAttributeResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} 66 67 private: 68 69 DBClusterSnapshotAttributesResult m_dBClusterSnapshotAttributesResult; 70 71 ResponseMetadata m_responseMetadata; 72 }; 73 74 } // namespace Model 75 } // namespace RDS 76 } // namespace Aws 77