AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateBackendJobRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackendRequest.h>
8#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AmplifyBackend {
15namespace Model {
16
23 public:
24 AWS_AMPLIFYBACKEND_API UpdateBackendJobRequest() = default;
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 "UpdateBackendJob"; }
31
32 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAppId() const { return m_appId; }
39 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
40 template <typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) {
42 m_appIdHasBeenSet = true;
43 m_appId = std::forward<AppIdT>(value);
44 }
45 template <typename AppIdT = Aws::String>
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
57 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
58 template <typename BackendEnvironmentNameT = Aws::String>
59 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
60 m_backendEnvironmentNameHasBeenSet = true;
61 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
62 }
63 template <typename BackendEnvironmentNameT = Aws::String>
64 UpdateBackendJobRequest& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
65 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetJobId() const { return m_jobId; }
75 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
76 template <typename JobIdT = Aws::String>
77 void SetJobId(JobIdT&& value) {
78 m_jobIdHasBeenSet = true;
79 m_jobId = std::forward<JobIdT>(value);
80 }
81 template <typename JobIdT = Aws::String>
83 SetJobId(std::forward<JobIdT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetOperation() const { return m_operation; }
94 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
95 template <typename OperationT = Aws::String>
96 void SetOperation(OperationT&& value) {
97 m_operationHasBeenSet = true;
98 m_operation = std::forward<OperationT>(value);
99 }
100 template <typename OperationT = Aws::String>
102 SetOperation(std::forward<OperationT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 template <typename StatusT = Aws::String>
115 void SetStatus(StatusT&& value) {
116 m_statusHasBeenSet = true;
117 m_status = std::forward<StatusT>(value);
118 }
119 template <typename StatusT = Aws::String>
121 SetStatus(std::forward<StatusT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_appId;
127 bool m_appIdHasBeenSet = false;
128
129 Aws::String m_backendEnvironmentName;
130 bool m_backendEnvironmentNameHasBeenSet = false;
131
132 Aws::String m_jobId;
133 bool m_jobIdHasBeenSet = false;
134
135 Aws::String m_operation;
136 bool m_operationHasBeenSet = false;
137
138 Aws::String m_status;
139 bool m_statusHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace AmplifyBackend
144} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateBackendJobRequest & WithJobId(JobIdT &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
UpdateBackendJobRequest & WithAppId(AppIdT &&value)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
UpdateBackendJobRequest & WithOperation(OperationT &&value)
UpdateBackendJobRequest & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
UpdateBackendJobRequest & WithStatus(StatusT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendJobRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String