AWS SDK for C++  1.9.20
AWS SDK for C++
DescribeClusterResult.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 Cluster& GetCluster() const{ return m_cluster; }
45 
49  inline void SetCluster(const Cluster& value) { m_cluster = value; }
50 
54  inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); }
55 
59  inline DescribeClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;}
60 
64  inline DescribeClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;}
65 
66  private:
67 
68  Cluster m_cluster;
69  };
70 
71 } // namespace Model
72 } // namespace EMR
73 } // namespace Aws
Aws::EMR::Model::DescribeClusterResult::DescribeClusterResult
DescribeClusterResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::DescribeClusterResult::WithCluster
DescribeClusterResult & WithCluster(const Cluster &value)
Definition: DescribeClusterResult.h:59
EMR_EXPORTS.h
Aws::EMR::Model::DescribeClusterResult::operator=
DescribeClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Cluster.h
Aws::EMR::Model::DescribeClusterResult::DescribeClusterResult
DescribeClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::DescribeClusterResult::GetCluster
const Cluster & GetCluster() const
Definition: DescribeClusterResult.h:44
Aws::EMR::Model::DescribeClusterResult::WithCluster
DescribeClusterResult & WithCluster(Cluster &&value)
Definition: DescribeClusterResult.h:64
Aws::EMR::Model::DescribeClusterResult::SetCluster
void SetCluster(Cluster &&value)
Definition: DescribeClusterResult.h:54
Aws::EMR::Model::DescribeClusterResult::SetCluster
void SetCluster(const Cluster &value)
Definition: DescribeClusterResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::DescribeClusterResult
Definition: DescribeClusterResult.h:34
Aws::EMR::Model::Cluster
Definition: Cluster.h:43
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28