AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeInboundCrossClusterSearchConnectionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/es/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ElasticsearchService
17 {
18 namespace Model
19 {
20 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "DescribeInboundCrossClusterSearchConnections"; }
38 
39  Aws::String SerializePayload() const override;
40 
41 
50  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
51 
60  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 
70  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
71 
80  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
81 
90  inline DescribeInboundCrossClusterSearchConnectionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
91 
100  inline DescribeInboundCrossClusterSearchConnectionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
101 
110  inline DescribeInboundCrossClusterSearchConnectionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
111 
120  inline DescribeInboundCrossClusterSearchConnectionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
121 
122 
127  inline int GetMaxResults() const{ return m_maxResults; }
128 
133  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
134 
139  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
140 
145  inline DescribeInboundCrossClusterSearchConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
146 
147 
152  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
153 
158  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
159 
164  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
165 
170  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
171 
176  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
177 
182  inline DescribeInboundCrossClusterSearchConnectionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
183 
188  inline DescribeInboundCrossClusterSearchConnectionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
189 
194  inline DescribeInboundCrossClusterSearchConnectionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
195 
196  private:
197 
198  Aws::Vector<Filter> m_filters;
199  bool m_filtersHasBeenSet;
200 
201  int m_maxResults;
202  bool m_maxResultsHasBeenSet;
203 
204  Aws::String m_nextToken;
205  bool m_nextTokenHasBeenSet;
206  };
207 
208 } // namespace Model
209 } // namespace ElasticsearchService
210 } // namespace Aws
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:37
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:176
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:50
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:80
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:133
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::WithFilters
DescribeInboundCrossClusterSearchConnectionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:90
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::WithMaxResults
DescribeInboundCrossClusterSearchConnectionsRequest & WithMaxResults(int value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:145
AWSVector.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:60
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:139
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:158
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:152
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:127
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::Filter
Definition: Filter.h:36
Filter.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::DescribeInboundCrossClusterSearchConnectionsRequest
DescribeInboundCrossClusterSearchConnectionsRequest()
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:170
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:70
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::WithNextToken
DescribeInboundCrossClusterSearchConnectionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:188
AWSString.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::AddFilters
DescribeInboundCrossClusterSearchConnectionsRequest & AddFilters(Filter &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:120
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::WithNextToken
DescribeInboundCrossClusterSearchConnectionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:164
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::WithNextToken
DescribeInboundCrossClusterSearchConnectionsRequest & WithNextToken(const char *value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:194
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::WithFilters
DescribeInboundCrossClusterSearchConnectionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest::AddFilters
DescribeInboundCrossClusterSearchConnectionsRequest & AddFilters(const Filter &value)
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:110
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsRequest
Definition: DescribeInboundCrossClusterSearchConnectionsRequest.h:29