AWS SDK for C++  1.9.123
AWS SDK for C++
GetGeofenceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LocationService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "GetGeofence"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
39 
43  inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
44 
48  inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
49 
53  inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
54 
58  inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
59 
63  inline GetGeofenceRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
64 
68  inline GetGeofenceRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
69 
73  inline GetGeofenceRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
74 
75 
79  inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; }
80 
84  inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; }
85 
89  inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; }
90 
94  inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); }
95 
99  inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); }
100 
104  inline GetGeofenceRequest& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;}
105 
109  inline GetGeofenceRequest& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;}
110 
114  inline GetGeofenceRequest& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_collectionName;
119  bool m_collectionNameHasBeenSet;
120 
121  Aws::String m_geofenceId;
122  bool m_geofenceIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace LocationService
127 } // namespace Aws
Aws::LocationService::Model::GetGeofenceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::GetGeofenceRequest::SetGeofenceId
void SetGeofenceId(const Aws::String &value)
Definition: GetGeofenceRequest.h:89
Aws::LocationService::Model::GetGeofenceRequest::GeofenceIdHasBeenSet
bool GeofenceIdHasBeenSet() const
Definition: GetGeofenceRequest.h:84
Aws::LocationService::Model::GetGeofenceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetGeofenceRequest.h:30
Aws::LocationService::Model::GetGeofenceRequest::WithCollectionName
GetGeofenceRequest & WithCollectionName(const char *value)
Definition: GetGeofenceRequest.h:73
Aws::LocationService::Model::GetGeofenceRequest::SetGeofenceId
void SetGeofenceId(const char *value)
Definition: GetGeofenceRequest.h:99
Aws::LocationService::Model::GetGeofenceRequest::GetGeofenceRequest
GetGeofenceRequest()
Aws::LocationService::Model::GetGeofenceRequest::WithGeofenceId
GetGeofenceRequest & WithGeofenceId(const char *value)
Definition: GetGeofenceRequest.h:114
Aws::LocationService::Model::GetGeofenceRequest::SetCollectionName
void SetCollectionName(const Aws::String &value)
Definition: GetGeofenceRequest.h:48
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::GetGeofenceRequest
Definition: GetGeofenceRequest.h:22
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::GetGeofenceRequest::GetGeofenceId
const Aws::String & GetGeofenceId() const
Definition: GetGeofenceRequest.h:79
Aws::LocationService::Model::GetGeofenceRequest::GetCollectionName
const Aws::String & GetCollectionName() const
Definition: GetGeofenceRequest.h:38
Aws::LocationService::Model::GetGeofenceRequest::SetGeofenceId
void SetGeofenceId(Aws::String &&value)
Definition: GetGeofenceRequest.h:94
Aws::LocationService::Model::GetGeofenceRequest::WithCollectionName
GetGeofenceRequest & WithCollectionName(const Aws::String &value)
Definition: GetGeofenceRequest.h:63
Aws::LocationService::Model::GetGeofenceRequest::CollectionNameHasBeenSet
bool CollectionNameHasBeenSet() const
Definition: GetGeofenceRequest.h:43
Aws::LocationService::Model::GetGeofenceRequest::WithGeofenceId
GetGeofenceRequest & WithGeofenceId(Aws::String &&value)
Definition: GetGeofenceRequest.h:109
AWSString.h
Aws::LocationService::Model::GetGeofenceRequest::SetCollectionName
void SetCollectionName(const char *value)
Definition: GetGeofenceRequest.h:58
Aws::LocationService::Model::GetGeofenceRequest::WithGeofenceId
GetGeofenceRequest & WithGeofenceId(const Aws::String &value)
Definition: GetGeofenceRequest.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::GetGeofenceRequest::WithCollectionName
GetGeofenceRequest & WithCollectionName(Aws::String &&value)
Definition: GetGeofenceRequest.h:68
Aws::LocationService::Model::GetGeofenceRequest::SetCollectionName
void SetCollectionName(Aws::String &&value)
Definition: GetGeofenceRequest.h:53
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17