AWS SDK for C++  1.9.40
AWS SDK for C++
ListClusterJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Snowball
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 "ListClusterJobs"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
42 
47  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
48 
53  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
54 
59  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
60 
65  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
66 
71  inline ListClusterJobsRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
72 
77  inline ListClusterJobsRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
78 
83  inline ListClusterJobsRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
84 
85 
89  inline int GetMaxResults() const{ return m_maxResults; }
90 
94  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 
99  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 
104  inline ListClusterJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 
106 
112  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 
119  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
120 
126  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
127 
133  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
134 
140  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
141 
147  inline ListClusterJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
148 
154  inline ListClusterJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
155 
161  inline ListClusterJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
162 
163  private:
164 
165  Aws::String m_clusterId;
166  bool m_clusterIdHasBeenSet;
167 
168  int m_maxResults;
169  bool m_maxResultsHasBeenSet;
170 
171  Aws::String m_nextToken;
172  bool m_nextTokenHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Snowball
177 } // namespace Aws
Aws::Snowball::Model::ListClusterJobsRequest::WithNextToken
ListClusterJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListClusterJobsRequest.h:154
Aws::Snowball::Model::ListClusterJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListClusterJobsRequest.h:94
Aws::Snowball::Model::ListClusterJobsRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: ListClusterJobsRequest.h:59
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Snowball::Model::ListClusterJobsRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: ListClusterJobsRequest.h:47
Aws::Snowball::Model::ListClusterJobsRequest::WithNextToken
ListClusterJobsRequest & WithNextToken(const char *value)
Definition: ListClusterJobsRequest.h:161
Aws::Snowball::Model::ListClusterJobsRequest::WithClusterId
ListClusterJobsRequest & WithClusterId(Aws::String &&value)
Definition: ListClusterJobsRequest.h:77
Aws::Snowball::Model::ListClusterJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListClusterJobsRequest.h:30
Aws::Snowball::Model::ListClusterJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListClusterJobsRequest.h:140
Aws::Snowball::Model::ListClusterJobsRequest::WithClusterId
ListClusterJobsRequest & WithClusterId(const char *value)
Definition: ListClusterJobsRequest.h:83
Aws::Snowball::Model::ListClusterJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListClusterJobsRequest.h:112
Aws::Snowball::Model::ListClusterJobsRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: ListClusterJobsRequest.h:53
Aws::Snowball::Model::ListClusterJobsRequest
Definition: ListClusterJobsRequest.h:22
Aws::Snowball::Model::ListClusterJobsRequest::WithMaxResults
ListClusterJobsRequest & WithMaxResults(int value)
Definition: ListClusterJobsRequest.h:104
Aws::Snowball::Model::ListClusterJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Snowball::Model::ListClusterJobsRequest::ListClusterJobsRequest
ListClusterJobsRequest()
Aws::Snowball::Model::ListClusterJobsRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: ListClusterJobsRequest.h:41
Aws::Snowball::Model::ListClusterJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListClusterJobsRequest.h:89
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
SnowballRequest.h
Aws::Snowball::Model::ListClusterJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListClusterJobsRequest.h:126
Aws::Snowball::Model::ListClusterJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::Snowball::Model::ListClusterJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListClusterJobsRequest.h:119
Aws::Snowball::Model::ListClusterJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListClusterJobsRequest.h:133
Aws::Snowball::Model::ListClusterJobsRequest::SetClusterId
void SetClusterId(const char *value)
Definition: ListClusterJobsRequest.h:65
Aws::Snowball::SnowballRequest
Definition: SnowballRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::ListClusterJobsRequest::WithClusterId
ListClusterJobsRequest & WithClusterId(const Aws::String &value)
Definition: ListClusterJobsRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::ListClusterJobsRequest::WithNextToken
ListClusterJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListClusterJobsRequest.h:147
Aws::Snowball::Model::ListClusterJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListClusterJobsRequest.h:99
Snowball_EXPORTS.h