AWS SDK for C++  1.9.19
AWS SDK for C++
DescribeClusterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EMR
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeCluster"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
45 
49  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
50 
54  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
55 
59  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
60 
64  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
65 
69  inline DescribeClusterRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
70 
74  inline DescribeClusterRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
75 
79  inline DescribeClusterRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
80 
81  private:
82 
83  Aws::String m_clusterId;
84  bool m_clusterIdHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace EMR
89 } // namespace Aws
Aws::EMR::Model::DescribeClusterRequest::WithClusterId
DescribeClusterRequest & WithClusterId(Aws::String &&value)
Definition: DescribeClusterRequest.h:74
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::DescribeClusterRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: DescribeClusterRequest.h:59
Aws::EMR::Model::DescribeClusterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterRequest.h:34
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::DescribeClusterRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::DescribeClusterRequest::WithClusterId
DescribeClusterRequest & WithClusterId(const Aws::String &value)
Definition: DescribeClusterRequest.h:69
Aws::EMR::Model::DescribeClusterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::DescribeClusterRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: DescribeClusterRequest.h:44
Aws::EMR::Model::DescribeClusterRequest::DescribeClusterRequest
DescribeClusterRequest()
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::DescribeClusterRequest
Definition: DescribeClusterRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::DescribeClusterRequest::SetClusterId
void SetClusterId(const char *value)
Definition: DescribeClusterRequest.h:64
Aws::EMR::Model::DescribeClusterRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: DescribeClusterRequest.h:54
Aws::EMR::Model::DescribeClusterRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: DescribeClusterRequest.h:49
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::DescribeClusterRequest::WithClusterId
DescribeClusterRequest & WithClusterId(const char *value)
Definition: DescribeClusterRequest.h:79