/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class ModifyManagedPrefixListResponse { public: AWS_EC2_API ModifyManagedPrefixListResponse(); AWS_EC2_API ModifyManagedPrefixListResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API ModifyManagedPrefixListResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the prefix list.

*/ inline const ManagedPrefixList& GetPrefixList() const{ return m_prefixList; } /** *

Information about the prefix list.

*/ inline void SetPrefixList(const ManagedPrefixList& value) { m_prefixList = value; } /** *

Information about the prefix list.

*/ inline void SetPrefixList(ManagedPrefixList&& value) { m_prefixList = std::move(value); } /** *

Information about the prefix list.

*/ inline ModifyManagedPrefixListResponse& WithPrefixList(const ManagedPrefixList& value) { SetPrefixList(value); return *this;} /** *

Information about the prefix list.

*/ inline ModifyManagedPrefixListResponse& WithPrefixList(ManagedPrefixList&& value) { SetPrefixList(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ModifyManagedPrefixListResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ModifyManagedPrefixListResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: ManagedPrefixList m_prefixList; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws