AWS SDK for C++  1.9.15
AWS SDK for C++
ListProfilingGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace CodeGuruProfiler
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListProfilingGroups"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
53  inline bool GetIncludeDescription() const{ return m_includeDescription; }
54 
63  inline bool IncludeDescriptionHasBeenSet() const { return m_includeDescriptionHasBeenSet; }
64 
73  inline void SetIncludeDescription(bool value) { m_includeDescriptionHasBeenSet = true; m_includeDescription = value; }
74 
83  inline ListProfilingGroupsRequest& WithIncludeDescription(bool value) { SetIncludeDescription(value); return *this;}
84 
85 
95  inline int GetMaxResults() const{ return m_maxResults; }
96 
106  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
107 
117  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
118 
128  inline ListProfilingGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
129 
130 
140  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
141 
151  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
152 
162  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
163 
173  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
174 
184  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
185 
195  inline ListProfilingGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
196 
206  inline ListProfilingGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
207 
217  inline ListProfilingGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
218 
219  private:
220 
221  bool m_includeDescription;
222  bool m_includeDescriptionHasBeenSet;
223 
224  int m_maxResults;
225  bool m_maxResultsHasBeenSet;
226 
227  Aws::String m_nextToken;
228  bool m_nextTokenHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace CodeGuruProfiler
233 } // namespace Aws
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListProfilingGroupsRequest.h:106
Aws::Http::URI
Definition: URI.h:32
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::SetIncludeDescription
void SetIncludeDescription(bool value)
Definition: ListProfilingGroupsRequest.h:73
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListProfilingGroupsRequest.h:38
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListProfilingGroupsRequest.h:184
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListProfilingGroupsRequest.h:162
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::WithNextToken
ListProfilingGroupsRequest & WithNextToken(const Aws::String &value)
Definition: ListProfilingGroupsRequest.h:195
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::GetIncludeDescription
bool GetIncludeDescription() const
Definition: ListProfilingGroupsRequest.h:53
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::WithNextToken
ListProfilingGroupsRequest & WithNextToken(Aws::String &&value)
Definition: ListProfilingGroupsRequest.h:206
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListProfilingGroupsRequest.h:173
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::IncludeDescriptionHasBeenSet
bool IncludeDescriptionHasBeenSet() const
Definition: ListProfilingGroupsRequest.h:63
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::WithMaxResults
ListProfilingGroupsRequest & WithMaxResults(int value)
Definition: ListProfilingGroupsRequest.h:128
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::WithNextToken
ListProfilingGroupsRequest & WithNextToken(const char *value)
Definition: ListProfilingGroupsRequest.h:217
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListProfilingGroupsRequest.h:117
AWSString.h
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListProfilingGroupsRequest.h:151
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListProfilingGroupsRequest.h:140
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListProfilingGroupsRequest.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::ListProfilingGroupsRequest
ListProfilingGroupsRequest()
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest::WithIncludeDescription
ListProfilingGroupsRequest & WithIncludeDescription(bool value)
Definition: ListProfilingGroupsRequest.h:83
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18
Aws::CodeGuruProfiler::Model::ListProfilingGroupsRequest
Definition: ListProfilingGroupsRequest.h:30