/** * 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 DocDBElastic { namespace Model { /** */ class GetClusterRequest : public DocDBElasticRequest { public: AWS_DOCDBELASTIC_API GetClusterRequest(); // 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 "GetCluster"; } AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override; /** *

The arn of the Elastic DocumentDB cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *

The arn of the Elastic DocumentDB cluster.

*/ inline GetClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The arn of the Elastic DocumentDB cluster.

*/ inline GetClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *

The arn of the Elastic DocumentDB cluster.

*/ inline GetClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; }; } // namespace Model } // namespace DocDBElastic } // namespace Aws