AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace EMR {
15namespace Model {
16
24 public:
25 AWS_EMR_API DescribeClusterRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeCluster"; }
32
33 AWS_EMR_API Aws::String SerializePayload() const override;
34
36
38
41 inline const Aws::String& GetClusterId() const { return m_clusterId; }
42 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
43 template <typename ClusterIdT = Aws::String>
44 void SetClusterId(ClusterIdT&& value) {
45 m_clusterIdHasBeenSet = true;
46 m_clusterId = std::forward<ClusterIdT>(value);
47 }
48 template <typename ClusterIdT = Aws::String>
50 SetClusterId(std::forward<ClusterIdT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_clusterId;
56 bool m_clusterIdHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace EMR
61} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_EMR_API Aws::String SerializePayload() const override
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_EMR_API DescribeClusterRequest()=default
DescribeClusterRequest & WithClusterId(ClusterIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String