/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace OpenSearchService { namespace Model { /** *

The result of a DescribeDomainNodes request. Contains * information about the nodes on the requested domain.

See Also:

* AWS * API Reference

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

Contains nodes information list DomainNodesStatusList with * details about the all nodes on the requested domain.

*/ inline const Aws::Vector& GetDomainNodesStatusList() const{ return m_domainNodesStatusList; } /** *

Contains nodes information list DomainNodesStatusList with * details about the all nodes on the requested domain.

*/ inline void SetDomainNodesStatusList(const Aws::Vector& value) { m_domainNodesStatusList = value; } /** *

Contains nodes information list DomainNodesStatusList with * details about the all nodes on the requested domain.

*/ inline void SetDomainNodesStatusList(Aws::Vector&& value) { m_domainNodesStatusList = std::move(value); } /** *

Contains nodes information list DomainNodesStatusList with * details about the all nodes on the requested domain.

*/ inline DescribeDomainNodesResult& WithDomainNodesStatusList(const Aws::Vector& value) { SetDomainNodesStatusList(value); return *this;} /** *

Contains nodes information list DomainNodesStatusList with * details about the all nodes on the requested domain.

*/ inline DescribeDomainNodesResult& WithDomainNodesStatusList(Aws::Vector&& value) { SetDomainNodesStatusList(std::move(value)); return *this;} /** *

Contains nodes information list DomainNodesStatusList with * details about the all nodes on the requested domain.

*/ inline DescribeDomainNodesResult& AddDomainNodesStatusList(const DomainNodesStatus& value) { m_domainNodesStatusList.push_back(value); return *this; } /** *

Contains nodes information list DomainNodesStatusList with * details about the all nodes on the requested domain.

*/ inline DescribeDomainNodesResult& AddDomainNodesStatusList(DomainNodesStatus&& value) { m_domainNodesStatusList.push_back(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 DescribeDomainNodesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDomainNodesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDomainNodesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_domainNodesStatusList; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws