AWS SDK for C++  1.9.155
AWS SDK for C++
ListAppsRequest.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 Amplify
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 "ListApps"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
49  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
50 
55  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 
61  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 
67  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 
73  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
74 
79  inline ListAppsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 
85  inline ListAppsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
86 
91  inline ListAppsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 
93 
97  inline int GetMaxResults() const{ return m_maxResults; }
98 
102  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 
107  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
108 
112  inline ListAppsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
113 
114  private:
115 
116  Aws::String m_nextToken;
117  bool m_nextTokenHasBeenSet;
118 
119  int m_maxResults;
120  bool m_maxResultsHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace Amplify
125 } // namespace Aws
Amplify_EXPORTS.h
Aws::Http::URI
Definition: URI.h:32
Aws::Amplify::Model::ListAppsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAppsRequest.h:49
Aws::Amplify::Model::ListAppsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAppsRequest.h:38
AmplifyRequest.h
Aws::Amplify::Model::ListAppsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Amplify::AmplifyRequest
Definition: AmplifyRequest.h:17
Aws::Amplify::Model::ListAppsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAppsRequest.h:61
Aws::Amplify::Model::ListAppsRequest::ListAppsRequest
ListAppsRequest()
Aws::Amplify::Model::ListAppsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAppsRequest.h:55
Aws::Amplify::Model::ListAppsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Amplify::Model::ListAppsRequest::WithNextToken
ListAppsRequest & WithNextToken(const char *value)
Definition: ListAppsRequest.h:91
AWSString.h
Aws::Amplify::Model::ListAppsRequest
Definition: ListAppsRequest.h:30
Aws::Amplify::Model::ListAppsRequest::WithNextToken
ListAppsRequest & WithNextToken(const Aws::String &value)
Definition: ListAppsRequest.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::ListAppsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAppsRequest.h:73
Aws::Amplify::Model::ListAppsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAppsRequest.h:107
Aws::Amplify::Model::ListAppsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAppsRequest.h:97
Aws::Amplify::Model::ListAppsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAppsRequest.h:67
Aws::Amplify::Model::ListAppsRequest::WithMaxResults
ListAppsRequest & WithMaxResults(int value)
Definition: ListAppsRequest.h:112
Aws::Amplify::Model::ListAppsRequest::WithNextToken
ListAppsRequest & WithNextToken(Aws::String &&value)
Definition: ListAppsRequest.h:85
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::ListAppsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAppsRequest.h:102