AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPlaceRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.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 LocationService
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LOCATIONSERVICE_API GetPlaceRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetPlace"; }
35
36 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetIndexName() const{ return m_indexName; }
46 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
47 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
48 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
49 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
50 inline GetPlaceRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
51 inline GetPlaceRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
52 inline GetPlaceRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
54
56
59 inline const Aws::String& GetPlaceId() const{ return m_placeId; }
60 inline bool PlaceIdHasBeenSet() const { return m_placeIdHasBeenSet; }
61 inline void SetPlaceId(const Aws::String& value) { m_placeIdHasBeenSet = true; m_placeId = value; }
62 inline void SetPlaceId(Aws::String&& value) { m_placeIdHasBeenSet = true; m_placeId = std::move(value); }
63 inline void SetPlaceId(const char* value) { m_placeIdHasBeenSet = true; m_placeId.assign(value); }
64 inline GetPlaceRequest& WithPlaceId(const Aws::String& value) { SetPlaceId(value); return *this;}
65 inline GetPlaceRequest& WithPlaceId(Aws::String&& value) { SetPlaceId(std::move(value)); return *this;}
66 inline GetPlaceRequest& WithPlaceId(const char* value) { SetPlaceId(value); return *this;}
68
70
85 inline const Aws::String& GetLanguage() const{ return m_language; }
86 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
87 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
88 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
89 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
90 inline GetPlaceRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
91 inline GetPlaceRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
92 inline GetPlaceRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
94
96
101 inline const Aws::String& GetKey() const{ return m_key; }
102 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
103 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
104 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
105 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
106 inline GetPlaceRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
107 inline GetPlaceRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
108 inline GetPlaceRequest& WithKey(const char* value) { SetKey(value); return *this;}
110 private:
111
112 Aws::String m_indexName;
113 bool m_indexNameHasBeenSet = false;
114
115 Aws::String m_placeId;
116 bool m_placeIdHasBeenSet = false;
117
118 Aws::String m_language;
119 bool m_languageHasBeenSet = false;
120
121 Aws::String m_key;
122 bool m_keyHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace LocationService
127} // namespace Aws
GetPlaceRequest & WithKey(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetPlaceRequest & WithLanguage(const char *value)
AWS_LOCATIONSERVICE_API GetPlaceRequest()
GetPlaceRequest & WithPlaceId(const Aws::String &value)
GetPlaceRequest & WithIndexName(const char *value)
void SetLanguage(const Aws::String &value)
void SetPlaceId(const Aws::String &value)
void SetIndexName(const Aws::String &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
GetPlaceRequest & WithPlaceId(Aws::String &&value)
GetPlaceRequest & WithKey(const char *value)
GetPlaceRequest & WithLanguage(const Aws::String &value)
GetPlaceRequest & WithIndexName(const Aws::String &value)
GetPlaceRequest & WithPlaceId(const char *value)
GetPlaceRequest & WithKey(const Aws::String &value)
GetPlaceRequest & WithLanguage(Aws::String &&value)
AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetPlaceRequest & WithIndexName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String