AWS SDK for C++  1.9.131
AWS SDK for C++
ListTrackerConsumersRequest.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 "ListTrackerConsumers"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline int GetMaxResults() const{ return m_maxResults; }
40 
45  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
46 
51  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
52 
57  inline ListTrackerConsumersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
58 
59 
65  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 
72  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 
79  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 
86  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 
93  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
94 
100  inline ListTrackerConsumersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 
107  inline ListTrackerConsumersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
114  inline ListTrackerConsumersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115 
116 
121  inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
122 
127  inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
128 
133  inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
134 
139  inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
140 
145  inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
146 
151  inline ListTrackerConsumersRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
152 
157  inline ListTrackerConsumersRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
158 
163  inline ListTrackerConsumersRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
164 
165  private:
166 
167  int m_maxResults;
168  bool m_maxResultsHasBeenSet;
169 
170  Aws::String m_nextToken;
171  bool m_nextTokenHasBeenSet;
172 
173  Aws::String m_trackerName;
174  bool m_trackerNameHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace LocationService
179 } // namespace Aws
Aws::LocationService::Model::ListTrackerConsumersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTrackerConsumersRequest.h:93
Aws::LocationService::Model::ListTrackerConsumersRequest
Definition: ListTrackerConsumersRequest.h:22
Aws::LocationService::Model::ListTrackerConsumersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTrackerConsumersRequest.h:72
Aws::LocationService::Model::ListTrackerConsumersRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTrackerConsumersRequest.h:45
Aws::LocationService::Model::ListTrackerConsumersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTrackerConsumersRequest.h:30
Aws::LocationService::Model::ListTrackerConsumersRequest::WithMaxResults
ListTrackerConsumersRequest & WithMaxResults(int value)
Definition: ListTrackerConsumersRequest.h:57
Aws::LocationService::Model::ListTrackerConsumersRequest::WithTrackerName
ListTrackerConsumersRequest & WithTrackerName(const char *value)
Definition: ListTrackerConsumersRequest.h:163
Aws::LocationService::Model::ListTrackerConsumersRequest::SetTrackerName
void SetTrackerName(const char *value)
Definition: ListTrackerConsumersRequest.h:145
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::ListTrackerConsumersRequest::WithNextToken
ListTrackerConsumersRequest & WithNextToken(Aws::String &&value)
Definition: ListTrackerConsumersRequest.h:107
Aws::LocationService::Model::ListTrackerConsumersRequest::WithTrackerName
ListTrackerConsumersRequest & WithTrackerName(Aws::String &&value)
Definition: ListTrackerConsumersRequest.h:157
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::ListTrackerConsumersRequest::ListTrackerConsumersRequest
ListTrackerConsumersRequest()
Aws::LocationService::Model::ListTrackerConsumersRequest::SetTrackerName
void SetTrackerName(Aws::String &&value)
Definition: ListTrackerConsumersRequest.h:139
Aws::LocationService::Model::ListTrackerConsumersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::ListTrackerConsumersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTrackerConsumersRequest.h:86
Aws::LocationService::Model::ListTrackerConsumersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTrackerConsumersRequest.h:79
AWSString.h
Aws::LocationService::Model::ListTrackerConsumersRequest::WithTrackerName
ListTrackerConsumersRequest & WithTrackerName(const Aws::String &value)
Definition: ListTrackerConsumersRequest.h:151
Aws::LocationService::Model::ListTrackerConsumersRequest::GetTrackerName
const Aws::String & GetTrackerName() const
Definition: ListTrackerConsumersRequest.h:121
Aws::LocationService::Model::ListTrackerConsumersRequest::SetTrackerName
void SetTrackerName(const Aws::String &value)
Definition: ListTrackerConsumersRequest.h:133
Aws::LocationService::Model::ListTrackerConsumersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTrackerConsumersRequest.h:65
Aws::LocationService::Model::ListTrackerConsumersRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTrackerConsumersRequest.h:51
Aws::LocationService::Model::ListTrackerConsumersRequest::WithNextToken
ListTrackerConsumersRequest & WithNextToken(const char *value)
Definition: ListTrackerConsumersRequest.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::ListTrackerConsumersRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTrackerConsumersRequest.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::ListTrackerConsumersRequest::TrackerNameHasBeenSet
bool TrackerNameHasBeenSet() const
Definition: ListTrackerConsumersRequest.h:127
Aws::LocationService::Model::ListTrackerConsumersRequest::WithNextToken
ListTrackerConsumersRequest & WithNextToken(const Aws::String &value)
Definition: ListTrackerConsumersRequest.h:100
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17