AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RunJobFlowResult.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_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 EMR
24{
25namespace Model
26{
34 {
35 public:
36 AWS_EMR_API RunJobFlowResult() = default;
39
40
42
45 inline const Aws::String& GetJobFlowId() const { return m_jobFlowId; }
46 template<typename JobFlowIdT = Aws::String>
47 void SetJobFlowId(JobFlowIdT&& value) { m_jobFlowIdHasBeenSet = true; m_jobFlowId = std::forward<JobFlowIdT>(value); }
48 template<typename JobFlowIdT = Aws::String>
49 RunJobFlowResult& WithJobFlowId(JobFlowIdT&& value) { SetJobFlowId(std::forward<JobFlowIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
57 template<typename ClusterArnT = Aws::String>
58 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
59 template<typename ClusterArnT = Aws::String>
60 RunJobFlowResult& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template<typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
68 template<typename RequestIdT = Aws::String>
69 RunJobFlowResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
71 private:
72
73 Aws::String m_jobFlowId;
74 bool m_jobFlowIdHasBeenSet = false;
75
76 Aws::String m_clusterArn;
77 bool m_clusterArnHasBeenSet = false;
78
79 Aws::String m_requestId;
80 bool m_requestIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace EMR
85} // 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