AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetUpgradeHistoryRequest.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 GetUpgradeHistoryRequest() = 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 "GetUpgradeHistory"; }
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
42 inline const Aws::String& GetDomainName() const { return m_domainName; }
43 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 template <typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) {
46 m_domainNameHasBeenSet = true;
47 m_domainName = std::forward<DomainNameT>(value);
48 }
49 template <typename DomainNameT = Aws::String>
51 SetDomainName(std::forward<DomainNameT>(value));
52 return *this;
53 }
55
57
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) {
61 m_maxResultsHasBeenSet = true;
62 m_maxResults = value;
63 }
65 SetMaxResults(value);
66 return *this;
67 }
69
71
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template <typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) {
76 m_nextTokenHasBeenSet = true;
77 m_nextToken = std::forward<NextTokenT>(value);
78 }
79 template <typename NextTokenT = Aws::String>
81 SetNextToken(std::forward<NextTokenT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_domainName;
87
88 int m_maxResults{0};
89
90 Aws::String m_nextToken;
91 bool m_domainNameHasBeenSet = false;
92 bool m_maxResultsHasBeenSet = false;
93 bool m_nextTokenHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace ElasticsearchService
98} // namespace Aws
GetUpgradeHistoryRequest & WithNextToken(NextTokenT &&value)
AWS_ELASTICSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
AWS_ELASTICSEARCHSERVICE_API GetUpgradeHistoryRequest()=default
GetUpgradeHistoryRequest & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String