/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace OpenSearchService { namespace Model { /** *

Container for the response returned by an DissociatePackage * operation.

See Also:

AWS * API Reference

*/ class DissociatePackageResult { public: AWS_OPENSEARCHSERVICE_API DissociatePackageResult(); AWS_OPENSEARCHSERVICE_API DissociatePackageResult(const Aws::AmazonWebServiceResult& result); AWS_OPENSEARCHSERVICE_API DissociatePackageResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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