/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for the response returned by an DissociatePackage
* operation.See Also:
AWS
* API Reference
Information about a package that has been dissociated from the domain.
*/ inline const DomainPackageDetails& GetDomainPackageDetails() const{ return m_domainPackageDetails; } /** *Information about a package that has been dissociated from the domain.
*/ inline void SetDomainPackageDetails(const DomainPackageDetails& value) { m_domainPackageDetails = value; } /** *Information about a package that has been dissociated from the domain.
*/ inline void SetDomainPackageDetails(DomainPackageDetails&& value) { m_domainPackageDetails = std::move(value); } /** *Information about a package that has been dissociated from the domain.
*/ inline DissociatePackageResult& WithDomainPackageDetails(const DomainPackageDetails& value) { SetDomainPackageDetails(value); return *this;} /** *Information about a package that has been dissociated from the domain.
*/ inline DissociatePackageResult& WithDomainPackageDetails(DomainPackageDetails&& value) { SetDomainPackageDetails(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DissociatePackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DissociatePackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DissociatePackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DomainPackageDetails m_domainPackageDetails; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws