AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedElasticsearchInstancesRequest.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace ElasticsearchService
19{
20namespace Model
21{
22
31 {
32 public:
33 AWS_ELASTICSEARCHSERVICE_API DescribeReservedElasticsearchInstancesRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "DescribeReservedElasticsearchInstances"; }
40
41 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
42
43 AWS_ELASTICSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
52 inline const Aws::String& GetReservedElasticsearchInstanceId() const{ return m_reservedElasticsearchInstanceId; }
53 inline bool ReservedElasticsearchInstanceIdHasBeenSet() const { return m_reservedElasticsearchInstanceIdHasBeenSet; }
54 inline void SetReservedElasticsearchInstanceId(const Aws::String& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = value; }
55 inline void SetReservedElasticsearchInstanceId(Aws::String&& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = std::move(value); }
56 inline void SetReservedElasticsearchInstanceId(const char* value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId.assign(value); }
61
63
67 inline int GetMaxResults() const{ return m_maxResults; }
68 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
69 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
72
74
78 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
84 inline DescribeReservedElasticsearchInstancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline DescribeReservedElasticsearchInstancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87 private:
88
89 Aws::String m_reservedElasticsearchInstanceId;
90 bool m_reservedElasticsearchInstanceIdHasBeenSet = false;
91
92 int m_maxResults;
93 bool m_maxResultsHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace ElasticsearchService
101} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeReservedElasticsearchInstancesRequest & WithReservedElasticsearchInstanceId(const char *value)
DescribeReservedElasticsearchInstancesRequest & WithReservedElasticsearchInstanceId(const Aws::String &value)
DescribeReservedElasticsearchInstancesRequest & WithReservedElasticsearchInstanceId(Aws::String &&value)
DescribeReservedElasticsearchInstancesRequest & WithNextToken(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String