AWS SDK for C++  1.9.156
AWS SDK for C++
ListTaskExecutionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DataSync
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListTaskExecutions"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetTaskArn() const{ return m_taskArn; }
44 
48  inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
49 
53  inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; }
54 
58  inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); }
59 
63  inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); }
64 
68  inline ListTaskExecutionsRequest& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}
69 
73  inline ListTaskExecutionsRequest& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}
74 
78  inline ListTaskExecutionsRequest& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}
79 
80 
84  inline int GetMaxResults() const{ return m_maxResults; }
85 
89  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
90 
94  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 
99  inline ListTaskExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
100 
101 
106  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
107 
112  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
113 
118  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
119 
124  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
125 
130  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
131 
136  inline ListTaskExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
137 
142  inline ListTaskExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
143 
148  inline ListTaskExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
149 
150  private:
151 
152  Aws::String m_taskArn;
153  bool m_taskArnHasBeenSet;
154 
155  int m_maxResults;
156  bool m_maxResultsHasBeenSet;
157 
158  Aws::String m_nextToken;
159  bool m_nextTokenHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace DataSync
164 } // namespace Aws
Aws::DataSync::Model::ListTaskExecutionsRequest::WithNextToken
ListTaskExecutionsRequest & WithNextToken(const Aws::String &value)
Definition: ListTaskExecutionsRequest.h:136
Aws::DataSync::Model::ListTaskExecutionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTaskExecutionsRequest.h:118
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataSync::Model::ListTaskExecutionsRequest::WithNextToken
ListTaskExecutionsRequest & WithNextToken(Aws::String &&value)
Definition: ListTaskExecutionsRequest.h:142
Aws::DataSync::Model::ListTaskExecutionsRequest::WithTaskArn
ListTaskExecutionsRequest & WithTaskArn(Aws::String &&value)
Definition: ListTaskExecutionsRequest.h:73
Aws::DataSync::Model::ListTaskExecutionsRequest::GetTaskArn
const Aws::String & GetTaskArn() const
Definition: ListTaskExecutionsRequest.h:43
Aws::DataSync::Model::ListTaskExecutionsRequest::SetTaskArn
void SetTaskArn(Aws::String &&value)
Definition: ListTaskExecutionsRequest.h:58
Aws::DataSync::Model::ListTaskExecutionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTaskExecutionsRequest.h:130
Aws::DataSync::Model::ListTaskExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataSync::Model::ListTaskExecutionsRequest::SetTaskArn
void SetTaskArn(const char *value)
Definition: ListTaskExecutionsRequest.h:63
Aws::DataSync::Model::ListTaskExecutionsRequest::ListTaskExecutionsRequest
ListTaskExecutionsRequest()
DataSyncRequest.h
Aws::DataSync::Model::ListTaskExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTaskExecutionsRequest.h:33
Aws::DataSync::Model::ListTaskExecutionsRequest::TaskArnHasBeenSet
bool TaskArnHasBeenSet() const
Definition: ListTaskExecutionsRequest.h:48
Aws::DataSync::Model::ListTaskExecutionsRequest::WithTaskArn
ListTaskExecutionsRequest & WithTaskArn(const char *value)
Definition: ListTaskExecutionsRequest.h:78
Aws::DataSync::Model::ListTaskExecutionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTaskExecutionsRequest.h:106
Aws::DataSync::Model::ListTaskExecutionsRequest::WithNextToken
ListTaskExecutionsRequest & WithNextToken(const char *value)
Definition: ListTaskExecutionsRequest.h:148
Aws::DataSync::Model::ListTaskExecutionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTaskExecutionsRequest.h:112
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::ListTaskExecutionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTaskExecutionsRequest.h:89
Aws::DataSync::Model::ListTaskExecutionsRequest::WithTaskArn
ListTaskExecutionsRequest & WithTaskArn(const Aws::String &value)
Definition: ListTaskExecutionsRequest.h:68
Aws::DataSync::Model::ListTaskExecutionsRequest::SetTaskArn
void SetTaskArn(const Aws::String &value)
Definition: ListTaskExecutionsRequest.h:53
Aws::DataSync::Model::ListTaskExecutionsRequest
Definition: ListTaskExecutionsRequest.h:25
Aws::DataSync::Model::ListTaskExecutionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTaskExecutionsRequest.h:84
Aws::DataSync::DataSyncRequest
Definition: DataSyncRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::ListTaskExecutionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTaskExecutionsRequest.h:94
Aws::DataSync::Model::ListTaskExecutionsRequest::WithMaxResults
ListTaskExecutionsRequest & WithMaxResults(int value)
Definition: ListTaskExecutionsRequest.h:99
Aws::DataSync::Model::ListTaskExecutionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::ListTaskExecutionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTaskExecutionsRequest.h:124