AWS SDK for C++  1.9.103
AWS SDK for C++
ListStateMachinesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SFN
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 "ListStateMachines"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline int GetMaxResults() const{ return m_maxResults; }
45 
53  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
54 
62  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 
71  inline ListStateMachinesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
72 
73 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
92  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 
102  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
122  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
123 
132  inline ListStateMachinesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
133 
142  inline ListStateMachinesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
143 
152  inline ListStateMachinesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
153 
154  private:
155 
156  int m_maxResults;
157  bool m_maxResultsHasBeenSet;
158 
159  Aws::String m_nextToken;
160  bool m_nextTokenHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace SFN
165 } // namespace Aws
Aws::SFN::Model::ListStateMachinesRequest
Definition: ListStateMachinesRequest.h:22
Aws::SFN::Model::ListStateMachinesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::ListStateMachinesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListStateMachinesRequest.h:44
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::ListStateMachinesRequest::ListStateMachinesRequest
ListStateMachinesRequest()
Aws::SFN::Model::ListStateMachinesRequest::WithNextToken
ListStateMachinesRequest & WithNextToken(const char *value)
Definition: ListStateMachinesRequest.h:152
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::ListStateMachinesRequest::WithNextToken
ListStateMachinesRequest & WithNextToken(const Aws::String &value)
Definition: ListStateMachinesRequest.h:132
Aws::SFN::Model::ListStateMachinesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListStateMachinesRequest.h:62
Aws::SFN::Model::ListStateMachinesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListStateMachinesRequest.h:112
Aws::SFN::Model::ListStateMachinesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListStateMachinesRequest.h:30
SFNRequest.h
AWSString.h
Aws::SFN::Model::ListStateMachinesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListStateMachinesRequest.h:122
Aws::SFN::Model::ListStateMachinesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListStateMachinesRequest.h:92
Aws::SFN::Model::ListStateMachinesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListStateMachinesRequest.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::ListStateMachinesRequest::WithNextToken
ListStateMachinesRequest & WithNextToken(Aws::String &&value)
Definition: ListStateMachinesRequest.h:142
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::ListStateMachinesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListStateMachinesRequest.h:53
Aws::SFN::Model::ListStateMachinesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SFN::Model::ListStateMachinesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListStateMachinesRequest.h:102
Aws::SFN::Model::ListStateMachinesRequest::WithMaxResults
ListStateMachinesRequest & WithMaxResults(int value)
Definition: ListStateMachinesRequest.h:71