AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeOutboundCrossClusterSearchConnectionsRequest.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 "DescribeOutboundCrossClusterSearchConnections"; }
38 
39  Aws::String SerializePayload() const override;
40 
41 
51  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
52 
62  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 
73  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
74 
84  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
85 
95  inline DescribeOutboundCrossClusterSearchConnectionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
96 
106  inline DescribeOutboundCrossClusterSearchConnectionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
107 
117  inline DescribeOutboundCrossClusterSearchConnectionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
118 
128  inline DescribeOutboundCrossClusterSearchConnectionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
129 
130 
135  inline int GetMaxResults() const{ return m_maxResults; }
136 
141  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
142 
147  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
148 
153  inline DescribeOutboundCrossClusterSearchConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
154 
155 
160  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
161 
166  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
167 
172  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
173 
178  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
179 
184  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
185 
190  inline DescribeOutboundCrossClusterSearchConnectionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
191 
196  inline DescribeOutboundCrossClusterSearchConnectionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
197 
202  inline DescribeOutboundCrossClusterSearchConnectionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
203 
204  private:
205 
206  Aws::Vector<Filter> m_filters;
207  bool m_filtersHasBeenSet;
208 
209  int m_maxResults;
210  bool m_maxResultsHasBeenSet;
211 
212  Aws::String m_nextToken;
213  bool m_nextTokenHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace ElasticsearchService
218 } // namespace Aws
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::WithMaxResults
DescribeOutboundCrossClusterSearchConnectionsRequest & WithMaxResults(int value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:153
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:172
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:62
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:73
ElasticsearchServiceRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:135
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::WithFilters
DescribeOutboundCrossClusterSearchConnectionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:95
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::Filter
Definition: Filter.h:36
Filter.h
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:84
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:166
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:147
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:51
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:29
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::WithNextToken
DescribeOutboundCrossClusterSearchConnectionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:196
AWSString.h
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::DescribeOutboundCrossClusterSearchConnectionsRequest
DescribeOutboundCrossClusterSearchConnectionsRequest()
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::WithNextToken
DescribeOutboundCrossClusterSearchConnectionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:190
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:141
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:178
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:37
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:160
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:184
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::AddFilters
DescribeOutboundCrossClusterSearchConnectionsRequest & AddFilters(Filter &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:128
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::WithFilters
DescribeOutboundCrossClusterSearchConnectionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:106
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::WithNextToken
DescribeOutboundCrossClusterSearchConnectionsRequest & WithNextToken(const char *value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:202
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsRequest::AddFilters
DescribeOutboundCrossClusterSearchConnectionsRequest & AddFilters(const Filter &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsRequest.h:117