AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobsRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace deadline
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DEADLINE_API ListJobsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListJobs"; }
35
36 AWS_DEADLINE_API Aws::String SerializePayload() const override;
37
38 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetFarmId() const{ return m_farmId; }
46 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
47 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
48 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
49 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
50 inline ListJobsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
51 inline ListJobsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
52 inline ListJobsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
54
56
59 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
60 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
61 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
62 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
63 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
64 inline ListJobsRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
65 inline ListJobsRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
66 inline ListJobsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
68
70
73 inline const Aws::String& GetQueueId() const{ return m_queueId; }
74 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
75 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
76 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
77 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
78 inline ListJobsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
79 inline ListJobsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
80 inline ListJobsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
82
84
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
93 inline ListJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 inline ListJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline ListJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97
99
103 inline int GetMaxResults() const{ return m_maxResults; }
104 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
106 inline ListJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
108 private:
109
110 Aws::String m_farmId;
111 bool m_farmIdHasBeenSet = false;
112
113 Aws::String m_principalId;
114 bool m_principalIdHasBeenSet = false;
115
116 Aws::String m_queueId;
117 bool m_queueIdHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 int m_maxResults;
123 bool m_maxResultsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace deadline
128} // namespace Aws
ListJobsRequest & WithFarmId(const char *value)
ListJobsRequest & WithNextToken(Aws::String &&value)
ListJobsRequest & WithPrincipalId(const char *value)
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ListJobsRequest & WithQueueId(const char *value)
const Aws::String & GetQueueId() const
ListJobsRequest & WithNextToken(const Aws::String &value)
void SetQueueId(const Aws::String &value)
ListJobsRequest & WithMaxResults(int value)
ListJobsRequest & WithNextToken(const char *value)
const Aws::String & GetNextToken() const
void SetFarmId(Aws::String &&value)
void SetQueueId(Aws::String &&value)
ListJobsRequest & WithFarmId(const Aws::String &value)
void SetPrincipalId(const Aws::String &value)
ListJobsRequest & WithQueueId(Aws::String &&value)
ListJobsRequest & WithQueueId(const Aws::String &value)
const Aws::String & GetPrincipalId() const
AWS_DEADLINE_API Aws::String SerializePayload() const override
void SetPrincipalId(const char *value)
ListJobsRequest & WithPrincipalId(Aws::String &&value)
ListJobsRequest & WithPrincipalId(const Aws::String &value)
ListJobsRequest & WithFarmId(Aws::String &&value)
const Aws::String & GetFarmId() const
void SetNextToken(const Aws::String &value)
void SetNextToken(Aws::String &&value)
void SetFarmId(const Aws::String &value)
void SetPrincipalId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String