AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetJobFlowId() const{ return m_jobFlowId; }
46 inline void SetJobFlowId(const Aws::String& value) { m_jobFlowId = value; }
47 inline void SetJobFlowId(Aws::String&& value) { m_jobFlowId = std::move(value); }
48 inline void SetJobFlowId(const char* value) { m_jobFlowId.assign(value); }
49 inline RunJobFlowResult& WithJobFlowId(const Aws::String& value) { SetJobFlowId(value); return *this;}
50 inline RunJobFlowResult& WithJobFlowId(Aws::String&& value) { SetJobFlowId(std::move(value)); return *this;}
51 inline RunJobFlowResult& WithJobFlowId(const char* value) { SetJobFlowId(value); return *this;}
53
55
58 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
59 inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
60 inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
61 inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
62 inline RunJobFlowResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
63 inline RunJobFlowResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
64 inline RunJobFlowResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline RunJobFlowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline RunJobFlowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline RunJobFlowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_jobFlowId;
80
81 Aws::String m_clusterArn;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace EMR
88} // namespace Aws
void SetJobFlowId(const Aws::String &value)
AWS_EMR_API RunJobFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetJobFlowId(const char *value)
RunJobFlowResult & WithRequestId(Aws::String &&value)
void SetClusterArn(const char *value)
RunJobFlowResult & WithJobFlowId(Aws::String &&value)
RunJobFlowResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
RunJobFlowResult & WithJobFlowId(const Aws::String &value)
void SetJobFlowId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
AWS_EMR_API RunJobFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
RunJobFlowResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetClusterArn(const Aws::String &value)
RunJobFlowResult & WithClusterArn(const char *value)
const Aws::String & GetJobFlowId() const
void SetClusterArn(Aws::String &&value)
RunJobFlowResult & WithJobFlowId(const char *value)
RunJobFlowResult & WithClusterArn(const Aws::String &value)
RunJobFlowResult & WithClusterArn(Aws::String &&value)
const Aws::String & GetClusterArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue