/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace EMR { namespace Model { /** *

This input determines which cluster to describe.

See Also:

* AWS * API Reference

*/ class DescribeClusterRequest : public EMRRequest { public: AWS_EMR_API DescribeClusterRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeCluster"; } AWS_EMR_API Aws::String SerializePayload() const override; AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifier of the cluster to describe.

*/ inline const Aws::String& GetClusterId() const{ return m_clusterId; } /** *

The identifier of the cluster to describe.

*/ inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; } /** *

The identifier of the cluster to describe.

*/ inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; } /** *

The identifier of the cluster to describe.

*/ inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); } /** *

The identifier of the cluster to describe.

*/ inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); } /** *

The identifier of the cluster to describe.

*/ inline DescribeClusterRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;} /** *

The identifier of the cluster to describe.

*/ inline DescribeClusterRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;} /** *

The identifier of the cluster to describe.

*/ inline DescribeClusterRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;} private: Aws::String m_clusterId; bool m_clusterIdHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws