/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DocDBElastic { namespace Model { /** *

A list of Elastic DocumentDB cluster.

See Also:

AWS * API Reference

*/ class ClusterInList { public: AWS_DOCDBELASTIC_API ClusterInList(); AWS_DOCDBELASTIC_API ClusterInList(Aws::Utils::Json::JsonView jsonValue); AWS_DOCDBELASTIC_API ClusterInList& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 ClusterInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The arn of the Elastic DocumentDB cluster.

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

The arn of the Elastic DocumentDB cluster.

*/ inline ClusterInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *

The name of the Elastic DocumentDB cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *

The name of the Elastic DocumentDB cluster.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *

The name of the Elastic DocumentDB cluster.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *

The name of the Elastic DocumentDB cluster.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *

The name of the Elastic DocumentDB cluster.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *

The name of the Elastic DocumentDB cluster.

*/ inline ClusterInList& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

The name of the Elastic DocumentDB cluster.

*/ inline ClusterInList& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

The name of the Elastic DocumentDB cluster.

*/ inline ClusterInList& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *

The status of the Elastic DocumentDB cluster.

*/ inline const Status& GetStatus() const{ return m_status; } /** *

The status of the Elastic DocumentDB cluster.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the Elastic DocumentDB cluster.

*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the Elastic DocumentDB cluster.

*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the Elastic DocumentDB cluster.

*/ inline ClusterInList& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

The status of the Elastic DocumentDB cluster.

*/ inline ClusterInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace DocDBElastic } // namespace Aws