AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetBackendJobRequest.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
22 {
23 public:
24 AWS_AMPLIFYBACKEND_API GetBackendJobRequest() = 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 "GetBackendJob"; }
31
32 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetAppId() const { return m_appId; }
40 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
41 template<typename AppIdT = Aws::String>
42 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
43 template<typename AppIdT = Aws::String>
44 GetBackendJobRequest& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
52 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
53 template<typename BackendEnvironmentNameT = Aws::String>
54 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value); }
55 template<typename BackendEnvironmentNameT = Aws::String>
56 GetBackendJobRequest& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) { SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetJobId() const { return m_jobId; }
64 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
65 template<typename JobIdT = Aws::String>
66 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
67 template<typename JobIdT = Aws::String>
68 GetBackendJobRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
70 private:
71
72 Aws::String m_appId;
73 bool m_appIdHasBeenSet = false;
74
75 Aws::String m_backendEnvironmentName;
76 bool m_backendEnvironmentNameHasBeenSet = false;
77
78 Aws::String m_jobId;
79 bool m_jobIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AmplifyBackend
84} // namespace Aws
GetBackendJobRequest & WithAppId(AppIdT &&value)
virtual const char * GetServiceRequestName() const override
GetBackendJobRequest & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
void SetBackendEnvironmentName(BackendEnvironmentNameT &&value)
AWS_AMPLIFYBACKEND_API GetBackendJobRequest()=default
GetBackendJobRequest & WithJobId(JobIdT &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String