AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GetJobRequest.h
1
6#pragma once
7#include <aws/amplify/AmplifyRequest.h>
8#include <aws/amplify/Amplify_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Amplify {
15namespace Model {
16
23 public:
24 AWS_AMPLIFY_API GetJobRequest() = 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 "GetJob"; }
31
32 AWS_AMPLIFY_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>
46 GetJobRequest& WithAppId(AppIdT&& value) {
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBranchName() const { return m_branchName; }
57 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
58 template <typename BranchNameT = Aws::String>
59 void SetBranchName(BranchNameT&& value) {
60 m_branchNameHasBeenSet = true;
61 m_branchName = std::forward<BranchNameT>(value);
62 }
63 template <typename BranchNameT = Aws::String>
64 GetJobRequest& WithBranchName(BranchNameT&& value) {
65 SetBranchName(std::forward<BranchNameT>(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>
82 GetJobRequest& WithJobId(JobIdT&& value) {
83 SetJobId(std::forward<JobIdT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_appId;
89
90 Aws::String m_branchName;
91
92 Aws::String m_jobId;
93 bool m_appIdHasBeenSet = false;
94 bool m_branchNameHasBeenSet = false;
95 bool m_jobIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Amplify
100} // namespace Aws
GetJobRequest & WithBranchName(BranchNameT &&value)
GetJobRequest & WithAppId(AppIdT &&value)
const Aws::String & GetAppId() const
const Aws::String & GetBranchName() const
GetJobRequest & WithJobId(JobIdT &&value)
AWS_AMPLIFY_API GetJobRequest()=default
virtual const char * GetServiceRequestName() const override
const Aws::String & GetJobId() const
AWS_AMPLIFY_API Aws::String SerializePayload() const override
void SetBranchName(BranchNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String