AWS SDK for C++  1.9.131
AWS SDK for C++
ListGeofencesRequest.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 "ListGeofences"; }
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 ListGeofencesRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
64 
68  inline ListGeofencesRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
69 
73  inline ListGeofencesRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
74 
75 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
88  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 
95  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 
102  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
103 
109  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
110 
116  inline ListGeofencesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
123  inline ListGeofencesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
124 
130  inline ListGeofencesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
131 
132  private:
133 
134  Aws::String m_collectionName;
135  bool m_collectionNameHasBeenSet;
136 
137  Aws::String m_nextToken;
138  bool m_nextTokenHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace LocationService
143 } // namespace Aws
Aws::LocationService::Model::ListGeofencesRequest::WithNextToken
ListGeofencesRequest & WithNextToken(const Aws::String &value)
Definition: ListGeofencesRequest.h:116
Aws::LocationService::Model::ListGeofencesRequest::WithNextToken
ListGeofencesRequest & WithNextToken(Aws::String &&value)
Definition: ListGeofencesRequest.h:123
Aws::LocationService::Model::ListGeofencesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListGeofencesRequest.h:88
Aws::LocationService::Model::ListGeofencesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListGeofencesRequest.h:109
Aws::LocationService::Model::ListGeofencesRequest::WithNextToken
ListGeofencesRequest & WithNextToken(const char *value)
Definition: ListGeofencesRequest.h:130
Aws::LocationService::Model::ListGeofencesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGeofencesRequest.h:102
Aws::LocationService::Model::ListGeofencesRequest::WithCollectionName
ListGeofencesRequest & WithCollectionName(Aws::String &&value)
Definition: ListGeofencesRequest.h:68
Aws::LocationService::Model::ListGeofencesRequest::SetCollectionName
void SetCollectionName(Aws::String &&value)
Definition: ListGeofencesRequest.h:53
Aws::LocationService::Model::ListGeofencesRequest
Definition: ListGeofencesRequest.h:22
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::ListGeofencesRequest::SerializePayload
Aws::String SerializePayload() const override
LocationServiceRequest.h
Aws::LocationService::Model::ListGeofencesRequest::GetCollectionName
const Aws::String & GetCollectionName() const
Definition: ListGeofencesRequest.h:38
LocationService_EXPORTS.h
Aws::LocationService::Model::ListGeofencesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListGeofencesRequest.h:30
Aws::LocationService::Model::ListGeofencesRequest::ListGeofencesRequest
ListGeofencesRequest()
AWSString.h
Aws::LocationService::Model::ListGeofencesRequest::SetCollectionName
void SetCollectionName(const Aws::String &value)
Definition: ListGeofencesRequest.h:48
Aws::LocationService::Model::ListGeofencesRequest::WithCollectionName
ListGeofencesRequest & WithCollectionName(const Aws::String &value)
Definition: ListGeofencesRequest.h:63
Aws::LocationService::Model::ListGeofencesRequest::WithCollectionName
ListGeofencesRequest & WithCollectionName(const char *value)
Definition: ListGeofencesRequest.h:73
Aws::LocationService::Model::ListGeofencesRequest::SetCollectionName
void SetCollectionName(const char *value)
Definition: ListGeofencesRequest.h:58
Aws::LocationService::Model::ListGeofencesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGeofencesRequest.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::ListGeofencesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGeofencesRequest.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::ListGeofencesRequest::CollectionNameHasBeenSet
bool CollectionNameHasBeenSet() const
Definition: ListGeofencesRequest.h:43
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17