AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeDomainAutoTunesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace OpenSearchService {
18namespace Model {
19
27 public:
28 AWS_OPENSEARCHSERVICE_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_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_OPENSEARCHSERVICE_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
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template <typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) {
86 m_nextTokenHasBeenSet = true;
87 m_nextToken = std::forward<NextTokenT>(value);
88 }
89 template <typename NextTokenT = Aws::String>
91 SetNextToken(std::forward<NextTokenT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_domainName;
97
98 int m_maxResults{0};
99
100 Aws::String m_nextToken;
101 bool m_domainNameHasBeenSet = false;
102 bool m_maxResultsHasBeenSet = false;
103 bool m_nextTokenHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace OpenSearchService
108} // namespace Aws
AWS_OPENSEARCHSERVICE_API DescribeDomainAutoTunesRequest()=default
DescribeDomainAutoTunesRequest & WithDomainName(DomainNameT &&value)
AWS_OPENSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeDomainAutoTunesRequest & WithNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String