AWS SDK for C++  1.9.19
AWS SDK for C++
RunJobFlowResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace EMR
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetJobFlowId() const{ return m_jobFlowId; }
45 
49  inline void SetJobFlowId(const Aws::String& value) { m_jobFlowId = value; }
50 
54  inline void SetJobFlowId(Aws::String&& value) { m_jobFlowId = std::move(value); }
55 
59  inline void SetJobFlowId(const char* value) { m_jobFlowId.assign(value); }
60 
64  inline RunJobFlowResult& WithJobFlowId(const Aws::String& value) { SetJobFlowId(value); return *this;}
65 
69  inline RunJobFlowResult& WithJobFlowId(Aws::String&& value) { SetJobFlowId(std::move(value)); return *this;}
70 
74  inline RunJobFlowResult& WithJobFlowId(const char* value) { SetJobFlowId(value); return *this;}
75 
76 
80  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
81 
85  inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
86 
90  inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
91 
95  inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
96 
100  inline RunJobFlowResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
101 
105  inline RunJobFlowResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
106 
110  inline RunJobFlowResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
111 
112  private:
113 
114  Aws::String m_jobFlowId;
115 
116  Aws::String m_clusterArn;
117  };
118 
119 } // namespace Model
120 } // namespace EMR
121 } // namespace Aws
Aws::EMR::Model::RunJobFlowResult::WithJobFlowId
RunJobFlowResult & WithJobFlowId(const char *value)
Definition: RunJobFlowResult.h:74
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
EMR_EXPORTS.h
Aws::EMR::Model::RunJobFlowResult::RunJobFlowResult
RunJobFlowResult()
Aws::EMR::Model::RunJobFlowResult::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: RunJobFlowResult.h:85
Aws::EMR::Model::RunJobFlowResult
Definition: RunJobFlowResult.h:34
Aws::EMR::Model::RunJobFlowResult::SetJobFlowId
void SetJobFlowId(const char *value)
Definition: RunJobFlowResult.h:59
Aws::EMR::Model::RunJobFlowResult::SetClusterArn
void SetClusterArn(const char *value)
Definition: RunJobFlowResult.h:95
Aws::EMR::Model::RunJobFlowResult::WithClusterArn
RunJobFlowResult & WithClusterArn(const Aws::String &value)
Definition: RunJobFlowResult.h:100
Aws::EMR::Model::RunJobFlowResult::WithJobFlowId
RunJobFlowResult & WithJobFlowId(const Aws::String &value)
Definition: RunJobFlowResult.h:64
Aws::EMR::Model::RunJobFlowResult::WithClusterArn
RunJobFlowResult & WithClusterArn(const char *value)
Definition: RunJobFlowResult.h:110
Aws::EMR::Model::RunJobFlowResult::WithClusterArn
RunJobFlowResult & WithClusterArn(Aws::String &&value)
Definition: RunJobFlowResult.h:105
Aws::EMR::Model::RunJobFlowResult::SetJobFlowId
void SetJobFlowId(const Aws::String &value)
Definition: RunJobFlowResult.h:49
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::RunJobFlowResult::operator=
RunJobFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::RunJobFlowResult::RunJobFlowResult
RunJobFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::RunJobFlowResult::WithJobFlowId
RunJobFlowResult & WithJobFlowId(Aws::String &&value)
Definition: RunJobFlowResult.h:69
Aws::EMR::Model::RunJobFlowResult::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: RunJobFlowResult.h:80
Aws::EMR::Model::RunJobFlowResult::GetJobFlowId
const Aws::String & GetJobFlowId() const
Definition: RunJobFlowResult.h:44
Aws::EMR::Model::RunJobFlowResult::SetJobFlowId
void SetJobFlowId(Aws::String &&value)
Definition: RunJobFlowResult.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::RunJobFlowResult::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: RunJobFlowResult.h:90
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28