AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDomainAutoTunesResult.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/AutoTune.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{
38 {
39 public:
40 AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesResult();
43
44
46
52 inline const Aws::Vector<AutoTune>& GetAutoTunes() const{ return m_autoTunes; }
53 inline void SetAutoTunes(const Aws::Vector<AutoTune>& value) { m_autoTunes = value; }
54 inline void SetAutoTunes(Aws::Vector<AutoTune>&& value) { m_autoTunes = std::move(value); }
56 inline DescribeDomainAutoTunesResult& WithAutoTunes(Aws::Vector<AutoTune>&& value) { SetAutoTunes(std::move(value)); return *this;}
57 inline DescribeDomainAutoTunesResult& AddAutoTunes(const AutoTune& value) { m_autoTunes.push_back(value); return *this; }
58 inline DescribeDomainAutoTunesResult& AddAutoTunes(AutoTune&& value) { m_autoTunes.push_back(std::move(value)); return *this; }
60
62
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
69 inline DescribeDomainAutoTunesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline DescribeDomainAutoTunesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline DescribeDomainAutoTunesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline DescribeDomainAutoTunesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DescribeDomainAutoTunesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DescribeDomainAutoTunesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::Vector<AutoTune> m_autoTunes;
87
88 Aws::String m_nextToken;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace ElasticsearchService
95} // namespace Aws
DescribeDomainAutoTunesResult & WithRequestId(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDomainAutoTunesResult & WithNextToken(const Aws::String &value)
DescribeDomainAutoTunesResult & WithRequestId(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDomainAutoTunesResult & AddAutoTunes(const AutoTune &value)
DescribeDomainAutoTunesResult & WithRequestId(const char *value)
DescribeDomainAutoTunesResult & WithAutoTunes(const Aws::Vector< AutoTune > &value)
DescribeDomainAutoTunesResult & WithNextToken(const char *value)
DescribeDomainAutoTunesResult & WithAutoTunes(Aws::Vector< AutoTune > &&value)
DescribeDomainAutoTunesResult & WithNextToken(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