AWS SDK for C++  1.9.97
AWS SDK for C++
GetUpgradeHistoryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace ElasticsearchService
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "GetUpgradeHistory"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
45 
46  inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 
48 
49  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 
51 
52  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
53 
54 
55  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
56 
57 
58  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
59 
60 
61  inline GetUpgradeHistoryRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
62 
63 
64  inline GetUpgradeHistoryRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
65 
66 
67  inline GetUpgradeHistoryRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
68 
69 
70 
71  inline int GetMaxResults() const{ return m_maxResults; }
72 
73 
74  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 
76 
77  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
78 
79 
80  inline GetUpgradeHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
81 
82 
83 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
86 
87  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 
89 
90  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 
92 
93  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
94 
95 
96  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 
98 
99  inline GetUpgradeHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
100 
101 
102  inline GetUpgradeHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 
104 
105  inline GetUpgradeHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106 
107  private:
108 
109  Aws::String m_domainName;
110  bool m_domainNameHasBeenSet;
111 
112  int m_maxResults;
113  bool m_maxResultsHasBeenSet;
114 
115  Aws::String m_nextToken;
116  bool m_nextTokenHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace ElasticsearchService
121 } // namespace Aws
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest
Definition: GetUpgradeHistoryRequest.h:30
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetUpgradeHistoryRequest.h:87
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::GetMaxResults
int GetMaxResults() const
Definition: GetUpgradeHistoryRequest.h:71
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: GetUpgradeHistoryRequest.h:49
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetUpgradeHistoryRequest.h:84
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::GetUpgradeHistoryRequest
GetUpgradeHistoryRequest()
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetUpgradeHistoryRequest.h:96
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::WithDomainName
GetUpgradeHistoryRequest & WithDomainName(const char *value)
Definition: GetUpgradeHistoryRequest.h:67
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: GetUpgradeHistoryRequest.h:52
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SetDomainName
void SetDomainName(const char *value)
Definition: GetUpgradeHistoryRequest.h:58
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::WithNextToken
GetUpgradeHistoryRequest & WithNextToken(Aws::String &&value)
Definition: GetUpgradeHistoryRequest.h:102
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetUpgradeHistoryRequest.h:74
AWSString.h
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetUpgradeHistoryRequest.h:90
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: GetUpgradeHistoryRequest.h:46
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::WithNextToken
GetUpgradeHistoryRequest & WithNextToken(const Aws::String &value)
Definition: GetUpgradeHistoryRequest.h:99
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::WithDomainName
GetUpgradeHistoryRequest & WithDomainName(const Aws::String &value)
Definition: GetUpgradeHistoryRequest.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetUpgradeHistoryRequest.h:77
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetUpgradeHistoryRequest.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::WithMaxResults
GetUpgradeHistoryRequest & WithMaxResults(int value)
Definition: GetUpgradeHistoryRequest.h:80
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: GetUpgradeHistoryRequest.h:55
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::WithDomainName
GetUpgradeHistoryRequest & WithDomainName(Aws::String &&value)
Definition: GetUpgradeHistoryRequest.h:64
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetUpgradeHistoryRequest.h:38
Aws::ElasticsearchService::Model::GetUpgradeHistoryRequest::WithNextToken
GetUpgradeHistoryRequest & WithNextToken(const char *value)
Definition: GetUpgradeHistoryRequest.h:105