AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RunJobFlowResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace EMR {
22namespace Model {
30 public:
31 AWS_EMR_API RunJobFlowResult() = default;
34
36
39 inline const Aws::String& GetJobFlowId() const { return m_jobFlowId; }
40 template <typename JobFlowIdT = Aws::String>
41 void SetJobFlowId(JobFlowIdT&& value) {
42 m_jobFlowIdHasBeenSet = true;
43 m_jobFlowId = std::forward<JobFlowIdT>(value);
44 }
45 template <typename JobFlowIdT = Aws::String>
46 RunJobFlowResult& WithJobFlowId(JobFlowIdT&& value) {
47 SetJobFlowId(std::forward<JobFlowIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
57 template <typename ClusterArnT = Aws::String>
58 void SetClusterArn(ClusterArnT&& value) {
59 m_clusterArnHasBeenSet = true;
60 m_clusterArn = std::forward<ClusterArnT>(value);
61 }
62 template <typename ClusterArnT = Aws::String>
63 RunJobFlowResult& WithClusterArn(ClusterArnT&& value) {
64 SetClusterArn(std::forward<ClusterArnT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
78 RunJobFlowResult& WithRequestId(RequestIdT&& value) {
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 private:
84 Aws::String m_jobFlowId;
85
86 Aws::String m_clusterArn;
87
88 Aws::String m_requestId;
89 bool m_jobFlowIdHasBeenSet = false;
90 bool m_clusterArnHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace EMR
96} // namespace Aws
RunJobFlowResult & WithRequestId(RequestIdT &&value)
AWS_EMR_API RunJobFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMR_API RunJobFlowResult()=default
void SetRequestId(RequestIdT &&value)
void SetJobFlowId(JobFlowIdT &&value)
RunJobFlowResult & WithClusterArn(ClusterArnT &&value)
void SetClusterArn(ClusterArnT &&value)
AWS_EMR_API RunJobFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetJobFlowId() const
RunJobFlowResult & WithJobFlowId(JobFlowIdT &&value)
const Aws::String & GetClusterArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue