AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
ListMigrationsRequest.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
23 public:
24 AWS_OPENSEARCHSERVICE_API ListMigrationsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListMigrations"; }
31
32 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_OPENSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 template <typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) {
45 m_applicationIdHasBeenSet = true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
47 }
48 template <typename ApplicationIdT = Aws::String>
49 ListMigrationsRequest& WithApplicationId(ApplicationIdT&& value) {
50 SetApplicationId(std::forward<ApplicationIdT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 template <typename StatusT = Aws::String>
64 void SetStatus(StatusT&& value) {
65 m_statusHasBeenSet = true;
66 m_status = std::forward<StatusT>(value);
67 }
68 template <typename StatusT = Aws::String>
70 SetStatus(std::forward<StatusT>(value));
71 return *this;
72 }
74
76
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) {
82 m_maxResultsHasBeenSet = true;
83 m_maxResults = value;
84 }
86 SetMaxResults(value);
87 return *this;
88 }
90
92
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template <typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) {
100 m_nextTokenHasBeenSet = true;
101 m_nextToken = std::forward<NextTokenT>(value);
102 }
103 template <typename NextTokenT = Aws::String>
105 SetNextToken(std::forward<NextTokenT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_applicationId;
111
112 Aws::String m_status;
113
114 int m_maxResults{0};
115
116 Aws::String m_nextToken;
117 bool m_applicationIdHasBeenSet = false;
118 bool m_statusHasBeenSet = false;
119 bool m_maxResultsHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace OpenSearchService
125} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListMigrationsRequest & WithNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API ListMigrationsRequest()=default
AWS_OPENSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMigrationsRequest & WithApplicationId(ApplicationIdT &&value)
ListMigrationsRequest & WithStatus(StatusT &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String