AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeElasticsearchDomainsResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/es/model/ElasticsearchDomainStatus.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 ElasticsearchService
26{
27namespace Model
28{
37 {
38 public:
39 AWS_ELASTICSEARCHSERVICE_API DescribeElasticsearchDomainsResult();
42
43
45
49 inline const Aws::Vector<ElasticsearchDomainStatus>& GetDomainStatusList() const{ return m_domainStatusList; }
50 inline void SetDomainStatusList(const Aws::Vector<ElasticsearchDomainStatus>& value) { m_domainStatusList = value; }
51 inline void SetDomainStatusList(Aws::Vector<ElasticsearchDomainStatus>&& value) { m_domainStatusList = std::move(value); }
54 inline DescribeElasticsearchDomainsResult& AddDomainStatusList(const ElasticsearchDomainStatus& value) { m_domainStatusList.push_back(value); return *this; }
55 inline DescribeElasticsearchDomainsResult& AddDomainStatusList(ElasticsearchDomainStatus&& value) { m_domainStatusList.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 DescribeElasticsearchDomainsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline DescribeElasticsearchDomainsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline DescribeElasticsearchDomainsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
71
72 Aws::String m_requestId;
73 };
74
75} // namespace Model
76} // namespace ElasticsearchService
77} // namespace Aws
DescribeElasticsearchDomainsResult & AddDomainStatusList(const ElasticsearchDomainStatus &value)
const Aws::Vector< ElasticsearchDomainStatus > & GetDomainStatusList() const
void SetDomainStatusList(const Aws::Vector< ElasticsearchDomainStatus > &value)
AWS_ELASTICSEARCHSERVICE_API DescribeElasticsearchDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API DescribeElasticsearchDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeElasticsearchDomainsResult & AddDomainStatusList(ElasticsearchDomainStatus &&value)
DescribeElasticsearchDomainsResult & WithDomainStatusList(const Aws::Vector< ElasticsearchDomainStatus > &value)
DescribeElasticsearchDomainsResult & WithDomainStatusList(Aws::Vector< ElasticsearchDomainStatus > &&value)
DescribeElasticsearchDomainsResult & WithRequestId(Aws::String &&value)
DescribeElasticsearchDomainsResult & WithRequestId(const Aws::String &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