AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBackendJobsRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/AmplifyBackendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AmplifyBackend
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_AMPLIFYBACKEND_API ListBackendJobsRequest();
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 "ListBackendJobs"; }
34
35 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetAppId() const{ return m_appId; }
43 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
44 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
45 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
46 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
47 inline ListBackendJobsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
48 inline ListBackendJobsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
49 inline ListBackendJobsRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
51
53
56 inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; }
57 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
58 inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = value; }
59 inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::move(value); }
60 inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName.assign(value); }
63 inline ListBackendJobsRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;}
65
67
70 inline const Aws::String& GetJobId() const{ return m_jobId; }
71 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
72 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
73 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
74 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
75 inline ListBackendJobsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
76 inline ListBackendJobsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
77 inline ListBackendJobsRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
79
81
84 inline int GetMaxResults() const{ return m_maxResults; }
85 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
86 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
87 inline ListBackendJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
89
91
94 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
97 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
98 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
99 inline ListBackendJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
100 inline ListBackendJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
101 inline ListBackendJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
103
105
109 inline const Aws::String& GetOperation() const{ return m_operation; }
110 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
111 inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; }
112 inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
113 inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); }
114 inline ListBackendJobsRequest& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
115 inline ListBackendJobsRequest& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
116 inline ListBackendJobsRequest& WithOperation(const char* value) { SetOperation(value); return *this;}
118
120
124 inline const Aws::String& GetStatus() const{ return m_status; }
125 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
126 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
127 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
128 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
129 inline ListBackendJobsRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
130 inline ListBackendJobsRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
131 inline ListBackendJobsRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
133 private:
134
135 Aws::String m_appId;
136 bool m_appIdHasBeenSet = false;
137
138 Aws::String m_backendEnvironmentName;
139 bool m_backendEnvironmentNameHasBeenSet = false;
140
141 Aws::String m_jobId;
142 bool m_jobIdHasBeenSet = false;
143
144 int m_maxResults;
145 bool m_maxResultsHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149
150 Aws::String m_operation;
151 bool m_operationHasBeenSet = false;
152
153 Aws::String m_status;
154 bool m_statusHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace AmplifyBackend
159} // namespace Aws
ListBackendJobsRequest & WithNextToken(Aws::String &&value)
ListBackendJobsRequest & WithStatus(const Aws::String &value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
ListBackendJobsRequest & WithNextToken(const char *value)
ListBackendJobsRequest & WithOperation(const Aws::String &value)
ListBackendJobsRequest & WithAppId(const char *value)
ListBackendJobsRequest & WithBackendEnvironmentName(const Aws::String &value)
ListBackendJobsRequest & WithStatus(Aws::String &&value)
ListBackendJobsRequest & WithStatus(const char *value)
ListBackendJobsRequest & WithBackendEnvironmentName(const char *value)
ListBackendJobsRequest & WithJobId(const char *value)
ListBackendJobsRequest & WithOperation(Aws::String &&value)
ListBackendJobsRequest & WithAppId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListBackendJobsRequest & WithJobId(Aws::String &&value)
ListBackendJobsRequest & WithJobId(const Aws::String &value)
ListBackendJobsRequest & WithAppId(const Aws::String &value)
ListBackendJobsRequest & WithNextToken(const Aws::String &value)
ListBackendJobsRequest & WithBackendEnvironmentName(Aws::String &&value)
ListBackendJobsRequest & WithOperation(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String