AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
StartJobRunResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace EMRServerless {
23namespace Model {
25 public:
26 AWS_EMRSERVERLESS_API StartJobRunResult() = default;
29
31
35 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
36 template <typename ApplicationIdT = Aws::String>
37 void SetApplicationId(ApplicationIdT&& value) {
38 m_applicationIdHasBeenSet = true;
39 m_applicationId = std::forward<ApplicationIdT>(value);
40 }
41 template <typename ApplicationIdT = Aws::String>
42 StartJobRunResult& WithApplicationId(ApplicationIdT&& value) {
43 SetApplicationId(std::forward<ApplicationIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetJobRunId() const { return m_jobRunId; }
53 template <typename JobRunIdT = Aws::String>
54 void SetJobRunId(JobRunIdT&& value) {
55 m_jobRunIdHasBeenSet = true;
56 m_jobRunId = std::forward<JobRunIdT>(value);
57 }
58 template <typename JobRunIdT = Aws::String>
59 StartJobRunResult& WithJobRunId(JobRunIdT&& value) {
60 SetJobRunId(std::forward<JobRunIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetArn() const { return m_arn; }
70 template <typename ArnT = Aws::String>
71 void SetArn(ArnT&& value) {
72 m_arnHasBeenSet = true;
73 m_arn = std::forward<ArnT>(value);
74 }
75 template <typename ArnT = Aws::String>
76 StartJobRunResult& WithArn(ArnT&& value) {
77 SetArn(std::forward<ArnT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 StartJobRunResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_applicationId;
100
101 Aws::String m_jobRunId;
102
103 Aws::String m_arn;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_applicationIdHasBeenSet = false;
108 bool m_jobRunIdHasBeenSet = false;
109 bool m_arnHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace EMRServerless
115} // namespace Aws
StartJobRunResult & WithArn(ArnT &&value)
AWS_EMRSERVERLESS_API StartJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMRSERVERLESS_API StartJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartJobRunResult & WithJobRunId(JobRunIdT &&value)
StartJobRunResult & WithApplicationId(ApplicationIdT &&value)
StartJobRunResult & WithRequestId(RequestIdT &&value)
AWS_EMRSERVERLESS_API StartJobRunResult()=default
void SetApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue