AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobMembersRequest.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 ListJobMembersRequest();
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 "ListJobMembers"; }
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 ListJobMembersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
51 inline ListJobMembersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
52 inline ListJobMembersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
54
56
59 inline const Aws::String& GetQueueId() const{ return m_queueId; }
60 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
61 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
62 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
63 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
64 inline ListJobMembersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
65 inline ListJobMembersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
66 inline ListJobMembersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
68
70
73 inline const Aws::String& GetJobId() const{ return m_jobId; }
74 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
75 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
76 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
77 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
78 inline ListJobMembersRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
79 inline ListJobMembersRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
80 inline ListJobMembersRequest& WithJobId(const char* value) { SetJobId(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 ListJobMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 inline ListJobMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline ListJobMembersRequest& 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 ListJobMembersRequest& 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_queueId;
114 bool m_queueIdHasBeenSet = false;
115
116 Aws::String m_jobId;
117 bool m_jobIdHasBeenSet = 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
ListJobMembersRequest & WithJobId(const char *value)
ListJobMembersRequest & WithQueueId(Aws::String &&value)
ListJobMembersRequest & WithMaxResults(int value)
ListJobMembersRequest & WithNextToken(const Aws::String &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
ListJobMembersRequest & WithJobId(const Aws::String &value)
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListJobMembersRequest & WithQueueId(const Aws::String &value)
ListJobMembersRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListJobMembersRequest & WithFarmId(const char *value)
ListJobMembersRequest & WithQueueId(const char *value)
ListJobMembersRequest & WithFarmId(const Aws::String &value)
ListJobMembersRequest & WithFarmId(Aws::String &&value)
ListJobMembersRequest & WithNextToken(Aws::String &&value)
ListJobMembersRequest & WithJobId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String