AWS SDK for C++  1.9.125
AWS SDK for C++
SearchPlaceIndexForTextRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace LocationService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "SearchPlaceIndexForText"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
43  inline const Aws::Vector<double>& GetBiasPosition() const{ return m_biasPosition; }
44 
52  inline bool BiasPositionHasBeenSet() const { return m_biasPositionHasBeenSet; }
53 
61  inline void SetBiasPosition(const Aws::Vector<double>& value) { m_biasPositionHasBeenSet = true; m_biasPosition = value; }
62 
70  inline void SetBiasPosition(Aws::Vector<double>&& value) { m_biasPositionHasBeenSet = true; m_biasPosition = std::move(value); }
71 
79  inline SearchPlaceIndexForTextRequest& WithBiasPosition(const Aws::Vector<double>& value) { SetBiasPosition(value); return *this;}
80 
88  inline SearchPlaceIndexForTextRequest& WithBiasPosition(Aws::Vector<double>&& value) { SetBiasPosition(std::move(value)); return *this;}
89 
97  inline SearchPlaceIndexForTextRequest& AddBiasPosition(double value) { m_biasPositionHasBeenSet = true; m_biasPosition.push_back(value); return *this; }
98 
99 
114  inline const Aws::Vector<double>& GetFilterBBox() const{ return m_filterBBox; }
115 
130  inline bool FilterBBoxHasBeenSet() const { return m_filterBBoxHasBeenSet; }
131 
146  inline void SetFilterBBox(const Aws::Vector<double>& value) { m_filterBBoxHasBeenSet = true; m_filterBBox = value; }
147 
162  inline void SetFilterBBox(Aws::Vector<double>&& value) { m_filterBBoxHasBeenSet = true; m_filterBBox = std::move(value); }
163 
178  inline SearchPlaceIndexForTextRequest& WithFilterBBox(const Aws::Vector<double>& value) { SetFilterBBox(value); return *this;}
179 
194  inline SearchPlaceIndexForTextRequest& WithFilterBBox(Aws::Vector<double>&& value) { SetFilterBBox(std::move(value)); return *this;}
195 
210  inline SearchPlaceIndexForTextRequest& AddFilterBBox(double value) { m_filterBBoxHasBeenSet = true; m_filterBBox.push_back(value); return *this; }
211 
212 
220  inline const Aws::Vector<Aws::String>& GetFilterCountries() const{ return m_filterCountries; }
221 
229  inline bool FilterCountriesHasBeenSet() const { return m_filterCountriesHasBeenSet; }
230 
238  inline void SetFilterCountries(const Aws::Vector<Aws::String>& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = value; }
239 
247  inline void SetFilterCountries(Aws::Vector<Aws::String>&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = std::move(value); }
248 
256  inline SearchPlaceIndexForTextRequest& WithFilterCountries(const Aws::Vector<Aws::String>& value) { SetFilterCountries(value); return *this;}
257 
265  inline SearchPlaceIndexForTextRequest& WithFilterCountries(Aws::Vector<Aws::String>&& value) { SetFilterCountries(std::move(value)); return *this;}
266 
274  inline SearchPlaceIndexForTextRequest& AddFilterCountries(const Aws::String& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; }
275 
283  inline SearchPlaceIndexForTextRequest& AddFilterCountries(Aws::String&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(std::move(value)); return *this; }
284 
292  inline SearchPlaceIndexForTextRequest& AddFilterCountries(const char* value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; }
293 
294 
298  inline const Aws::String& GetIndexName() const{ return m_indexName; }
299 
303  inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
304 
308  inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
309 
313  inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
314 
318  inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
319 
323  inline SearchPlaceIndexForTextRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
324 
328  inline SearchPlaceIndexForTextRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
329 
333  inline SearchPlaceIndexForTextRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
334 
335 
340  inline int GetMaxResults() const{ return m_maxResults; }
341 
346  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
347 
352  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
353 
358  inline SearchPlaceIndexForTextRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
359 
360 
365  inline const Aws::String& GetText() const{ return m_text; }
366 
371  inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
372 
377  inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
378 
383  inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
384 
389  inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
390 
395  inline SearchPlaceIndexForTextRequest& WithText(const Aws::String& value) { SetText(value); return *this;}
396 
401  inline SearchPlaceIndexForTextRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
402 
407  inline SearchPlaceIndexForTextRequest& WithText(const char* value) { SetText(value); return *this;}
408 
409  private:
410 
411  Aws::Vector<double> m_biasPosition;
412  bool m_biasPositionHasBeenSet;
413 
414  Aws::Vector<double> m_filterBBox;
415  bool m_filterBBoxHasBeenSet;
416 
417  Aws::Vector<Aws::String> m_filterCountries;
418  bool m_filterCountriesHasBeenSet;
419 
420  Aws::String m_indexName;
421  bool m_indexNameHasBeenSet;
422 
423  int m_maxResults;
424  bool m_maxResultsHasBeenSet;
425 
426  Aws::String m_text;
427  bool m_textHasBeenSet;
428  };
429 
430 } // namespace Model
431 } // namespace LocationService
432 } // namespace Aws
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetIndexName
void SetIndexName(const char *value)
Definition: SearchPlaceIndexForTextRequest.h:318
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithIndexName
SearchPlaceIndexForTextRequest & WithIndexName(Aws::String &&value)
Definition: SearchPlaceIndexForTextRequest.h:328
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetBiasPosition
void SetBiasPosition(Aws::Vector< double > &&value)
Definition: SearchPlaceIndexForTextRequest.h:70
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::AddFilterBBox
SearchPlaceIndexForTextRequest & AddFilterBBox(double value)
Definition: SearchPlaceIndexForTextRequest.h:210
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::AddFilterCountries
SearchPlaceIndexForTextRequest & AddFilterCountries(Aws::String &&value)
Definition: SearchPlaceIndexForTextRequest.h:283
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchPlaceIndexForTextRequest.h:352
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithBiasPosition
SearchPlaceIndexForTextRequest & WithBiasPosition(Aws::Vector< double > &&value)
Definition: SearchPlaceIndexForTextRequest.h:88
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::GetFilterCountries
const Aws::Vector< Aws::String > & GetFilterCountries() const
Definition: SearchPlaceIndexForTextRequest.h:220
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithText
SearchPlaceIndexForTextRequest & WithText(const Aws::String &value)
Definition: SearchPlaceIndexForTextRequest.h:395
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::AddBiasPosition
SearchPlaceIndexForTextRequest & AddBiasPosition(double value)
Definition: SearchPlaceIndexForTextRequest.h:97
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithText
SearchPlaceIndexForTextRequest & WithText(const char *value)
Definition: SearchPlaceIndexForTextRequest.h:407
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetText
void SetText(const char *value)
Definition: SearchPlaceIndexForTextRequest.h:389
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::FilterBBoxHasBeenSet
bool FilterBBoxHasBeenSet() const
Definition: SearchPlaceIndexForTextRequest.h:130
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetIndexName
void SetIndexName(const Aws::String &value)
Definition: SearchPlaceIndexForTextRequest.h:308
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::AddFilterCountries
SearchPlaceIndexForTextRequest & AddFilterCountries(const Aws::String &value)
Definition: SearchPlaceIndexForTextRequest.h:274
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::TextHasBeenSet
bool TextHasBeenSet() const
Definition: SearchPlaceIndexForTextRequest.h:371
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithText
SearchPlaceIndexForTextRequest & WithText(Aws::String &&value)
Definition: SearchPlaceIndexForTextRequest.h:401
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithFilterCountries
SearchPlaceIndexForTextRequest & WithFilterCountries(const Aws::Vector< Aws::String > &value)
Definition: SearchPlaceIndexForTextRequest.h:256
AWSVector.h
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchPlaceIndexForTextRequest.h:346
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::AddFilterCountries
SearchPlaceIndexForTextRequest & AddFilterCountries(const char *value)
Definition: SearchPlaceIndexForTextRequest.h:292
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetIndexName
void SetIndexName(Aws::String &&value)
Definition: SearchPlaceIndexForTextRequest.h:313
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::IndexNameHasBeenSet
bool IndexNameHasBeenSet() const
Definition: SearchPlaceIndexForTextRequest.h:303
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetBiasPosition
void SetBiasPosition(const Aws::Vector< double > &value)
Definition: SearchPlaceIndexForTextRequest.h:61
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetFilterBBox
void SetFilterBBox(Aws::Vector< double > &&value)
Definition: SearchPlaceIndexForTextRequest.h:162
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithFilterBBox
SearchPlaceIndexForTextRequest & WithFilterBBox(Aws::Vector< double > &&value)
Definition: SearchPlaceIndexForTextRequest.h:194
Aws::LocationService::Model::SearchPlaceIndexForTextRequest
Definition: SearchPlaceIndexForTextRequest.h:23
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetFilterBBox
void SetFilterBBox(const Aws::Vector< double > &value)
Definition: SearchPlaceIndexForTextRequest.h:146
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithIndexName
SearchPlaceIndexForTextRequest & WithIndexName(const Aws::String &value)
Definition: SearchPlaceIndexForTextRequest.h:323
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SearchPlaceIndexForTextRequest
SearchPlaceIndexForTextRequest()
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetFilterCountries
void SetFilterCountries(const Aws::Vector< Aws::String > &value)
Definition: SearchPlaceIndexForTextRequest.h:238
AWSString.h
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithIndexName
SearchPlaceIndexForTextRequest & WithIndexName(const char *value)
Definition: SearchPlaceIndexForTextRequest.h:333
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithMaxResults
SearchPlaceIndexForTextRequest & WithMaxResults(int value)
Definition: SearchPlaceIndexForTextRequest.h:358
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithFilterCountries
SearchPlaceIndexForTextRequest & WithFilterCountries(Aws::Vector< Aws::String > &&value)
Definition: SearchPlaceIndexForTextRequest.h:265
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchPlaceIndexForTextRequest.h:31
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchPlaceIndexForTextRequest.h:340
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithFilterBBox
SearchPlaceIndexForTextRequest & WithFilterBBox(const Aws::Vector< double > &value)
Definition: SearchPlaceIndexForTextRequest.h:178
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetFilterCountries
void SetFilterCountries(Aws::Vector< Aws::String > &&value)
Definition: SearchPlaceIndexForTextRequest.h:247
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::GetFilterBBox
const Aws::Vector< double > & GetFilterBBox() const
Definition: SearchPlaceIndexForTextRequest.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::GetText
const Aws::String & GetText() const
Definition: SearchPlaceIndexForTextRequest.h:365
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetText
void SetText(Aws::String &&value)
Definition: SearchPlaceIndexForTextRequest.h:383
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::FilterCountriesHasBeenSet
bool FilterCountriesHasBeenSet() const
Definition: SearchPlaceIndexForTextRequest.h:229
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::GetBiasPosition
const Aws::Vector< double > & GetBiasPosition() const
Definition: SearchPlaceIndexForTextRequest.h:43
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::SetText
void SetText(const Aws::String &value)
Definition: SearchPlaceIndexForTextRequest.h:377
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::BiasPositionHasBeenSet
bool BiasPositionHasBeenSet() const
Definition: SearchPlaceIndexForTextRequest.h:52
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::GetIndexName
const Aws::String & GetIndexName() const
Definition: SearchPlaceIndexForTextRequest.h:298
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::SearchPlaceIndexForTextRequest::WithBiasPosition
SearchPlaceIndexForTextRequest & WithBiasPosition(const Aws::Vector< double > &value)
Definition: SearchPlaceIndexForTextRequest.h:79