AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartJobRunResult.h
1
6#pragma once
7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace EMRServerless
24{
25namespace Model
26{
28 {
29 public:
30 AWS_EMRSERVERLESS_API StartJobRunResult() = default;
33
34
36
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 template<typename ApplicationIdT = Aws::String>
42 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
43 template<typename ApplicationIdT = Aws::String>
44 StartJobRunResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetJobRunId() const { return m_jobRunId; }
52 template<typename JobRunIdT = Aws::String>
53 void SetJobRunId(JobRunIdT&& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = std::forward<JobRunIdT>(value); }
54 template<typename JobRunIdT = Aws::String>
55 StartJobRunResult& WithJobRunId(JobRunIdT&& value) { SetJobRunId(std::forward<JobRunIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetArn() const { return m_arn; }
63 template<typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 StartJobRunResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 StartJobRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_applicationId;
80 bool m_applicationIdHasBeenSet = false;
81
82 Aws::String m_jobRunId;
83 bool m_jobRunIdHasBeenSet = false;
84
85 Aws::String m_arn;
86 bool m_arnHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EMRServerless
94} // 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)
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