/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the status of the domain specified in the request.See
* Also:
AWS
* API Reference
List that contains the status of each specified OpenSearch Service * domain.
*/ inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; } /** *List that contains the status of each specified OpenSearch Service * domain.
*/ inline void SetDomainStatus(const DomainStatus& value) { m_domainStatus = value; } /** *List that contains the status of each specified OpenSearch Service * domain.
*/ inline void SetDomainStatus(DomainStatus&& value) { m_domainStatus = std::move(value); } /** *List that contains the status of each specified OpenSearch Service * domain.
*/ inline DescribeDomainResult& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;} /** *List that contains the status of each specified OpenSearch Service * domain.
*/ inline DescribeDomainResult& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(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 DescribeDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DomainStatus m_domainStatus; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws