AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DescribeDomainAutoTunesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/es/ElasticsearchService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace ElasticsearchService {
18namespace Model {
19
27 public:
28 AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeDomainAutoTunes"; }
35
36 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_ELASTICSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetDomainName() const { return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 template <typename DomainNameT = Aws::String>
47 void SetDomainName(DomainNameT&& value) {
48 m_domainNameHasBeenSet = true;
49 m_domainName = std::forward<DomainNameT>(value);
50 }
51 template <typename DomainNameT = Aws::String>
53 SetDomainName(std::forward<DomainNameT>(value));
54 return *this;
55 }
57
59
63 inline int GetMaxResults() const { return m_maxResults; }
64 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
65 inline void SetMaxResults(int value) {
66 m_maxResultsHasBeenSet = true;
67 m_maxResults = value;
68 }
70 SetMaxResults(value);
71 return *this;
72 }
74
76
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template <typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) {
84 m_nextTokenHasBeenSet = true;
85 m_nextToken = std::forward<NextTokenT>(value);
86 }
87 template <typename NextTokenT = Aws::String>
89 SetNextToken(std::forward<NextTokenT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_domainName;
95
96 int m_maxResults{0};
97
98 Aws::String m_nextToken;
99 bool m_domainNameHasBeenSet = false;
100 bool m_maxResultsHasBeenSet = false;
101 bool m_nextTokenHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ElasticsearchService
106} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
DescribeDomainAutoTunesRequest & WithNextToken(NextTokenT &&value)
DescribeDomainAutoTunesRequest & WithDomainName(DomainNameT &&value)
AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String