AWS SDK for C++  1.9.161
AWS SDK for C++
ListWorldTemplatesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RoboMaker
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 "ListWorldTemplates"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
43  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 
53  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
54 
63  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 
73  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 
83  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
84 
93  inline ListWorldTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 
103  inline ListWorldTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 
113  inline ListWorldTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115 
125  inline int GetMaxResults() const{ return m_maxResults; }
126 
136  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
137 
147  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
148 
158  inline ListWorldTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
159 
160  private:
161 
162  Aws::String m_nextToken;
163  bool m_nextTokenHasBeenSet;
164 
165  int m_maxResults;
166  bool m_maxResultsHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace RoboMaker
171 } // namespace Aws
Aws::RoboMaker::Model::ListWorldTemplatesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWorldTemplatesRequest.h:73
Aws::RoboMaker::Model::ListWorldTemplatesRequest::WithNextToken
ListWorldTemplatesRequest & WithNextToken(const Aws::String &value)
Definition: ListWorldTemplatesRequest.h:93
Aws::RoboMaker::Model::ListWorldTemplatesRequest::WithNextToken
ListWorldTemplatesRequest & WithNextToken(const char *value)
Definition: ListWorldTemplatesRequest.h:113
Aws::RoboMaker::Model::ListWorldTemplatesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWorldTemplatesRequest.h:63
RoboMakerRequest.h
Aws::RoboMaker::Model::ListWorldTemplatesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWorldTemplatesRequest.h:43
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListWorldTemplatesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListWorldTemplatesRequest.h:136
Aws::RoboMaker::Model::ListWorldTemplatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListWorldTemplatesRequest.h:30
Aws::RoboMaker::Model::ListWorldTemplatesRequest::WithMaxResults
ListWorldTemplatesRequest & WithMaxResults(int value)
Definition: ListWorldTemplatesRequest.h:158
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListWorldTemplatesRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::RoboMaker::Model::ListWorldTemplatesRequest::ListWorldTemplatesRequest
ListWorldTemplatesRequest()
Aws::RoboMaker::Model::ListWorldTemplatesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListWorldTemplatesRequest.h:147
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::ListWorldTemplatesRequest
Definition: ListWorldTemplatesRequest.h:22
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::ListWorldTemplatesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListWorldTemplatesRequest.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListWorldTemplatesRequest::WithNextToken
ListWorldTemplatesRequest & WithNextToken(Aws::String &&value)
Definition: ListWorldTemplatesRequest.h:103
Aws::RoboMaker::Model::ListWorldTemplatesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListWorldTemplatesRequest.h:53
Aws::RoboMaker::Model::ListWorldTemplatesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListWorldTemplatesRequest.h:125