108 lines
2.9 KiB
C
108 lines
2.9 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/kafka/Kafka_EXPORTS.h>
|
|||
|
|
#include <aws/kafka/KafkaRequest.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Kafka
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*/
|
|||
|
|
class AWS_KAFKA_API DescribeClusterRequest : public KafkaRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
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::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline DescribeClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline DescribeClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
<p>The Amazon Resource Name (ARN) that uniquely identifies the
|
|||
|
|
* cluster.</p>
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
inline DescribeClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_clusterArn;
|
|||
|
|
bool m_clusterArnHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Kafka
|
|||
|
|
} // namespace Aws
|