AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDomainNodesResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/DomainNodesStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchService
26{
27namespace Model
28{
37 {
38 public:
39 AWS_OPENSEARCHSERVICE_API DescribeDomainNodesResult();
42
43
45
49 inline const Aws::Vector<DomainNodesStatus>& GetDomainNodesStatusList() const{ return m_domainNodesStatusList; }
50 inline void SetDomainNodesStatusList(const Aws::Vector<DomainNodesStatus>& value) { m_domainNodesStatusList = value; }
51 inline void SetDomainNodesStatusList(Aws::Vector<DomainNodesStatus>&& value) { m_domainNodesStatusList = std::move(value); }
54 inline DescribeDomainNodesResult& AddDomainNodesStatusList(const DomainNodesStatus& value) { m_domainNodesStatusList.push_back(value); return *this; }
55 inline DescribeDomainNodesResult& AddDomainNodesStatusList(DomainNodesStatus&& value) { m_domainNodesStatusList.push_back(std::move(value)); return *this; }
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline DescribeDomainNodesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline DescribeDomainNodesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline DescribeDomainNodesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::Vector<DomainNodesStatus> m_domainNodesStatusList;
71
72 Aws::String m_requestId;
73 };
74
75} // namespace Model
76} // namespace OpenSearchService
77} // namespace Aws
DescribeDomainNodesResult & WithRequestId(Aws::String &&value)
DescribeDomainNodesResult & WithDomainNodesStatusList(Aws::Vector< DomainNodesStatus > &&value)
DescribeDomainNodesResult & WithDomainNodesStatusList(const Aws::Vector< DomainNodesStatus > &value)
DescribeDomainNodesResult & WithRequestId(const Aws::String &value)
const Aws::Vector< DomainNodesStatus > & GetDomainNodesStatusList() const
void SetDomainNodesStatusList(const Aws::Vector< DomainNodesStatus > &value)
AWS_OPENSEARCHSERVICE_API DescribeDomainNodesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDomainNodesResult & AddDomainNodesStatusList(DomainNodesStatus &&value)
AWS_OPENSEARCHSERVICE_API DescribeDomainNodesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDomainNodesStatusList(Aws::Vector< DomainNodesStatus > &&value)
DescribeDomainNodesResult & AddDomainNodesStatusList(const DomainNodesStatus &value)
DescribeDomainNodesResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue