/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DataSync { namespace Model { /** *

The information that DataSync Discovery collects about an on-premises storage * system cluster.

See Also:

AWS * API Reference

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

The number of CIFS shares in the cluster.

*/ inline long long GetCifsShareCount() const{ return m_cifsShareCount; } /** *

The number of CIFS shares in the cluster.

*/ inline bool CifsShareCountHasBeenSet() const { return m_cifsShareCountHasBeenSet; } /** *

The number of CIFS shares in the cluster.

*/ inline void SetCifsShareCount(long long value) { m_cifsShareCountHasBeenSet = true; m_cifsShareCount = value; } /** *

The number of CIFS shares in the cluster.

*/ inline NetAppONTAPCluster& WithCifsShareCount(long long value) { SetCifsShareCount(value); return *this;} /** *

The number of NFS volumes in the cluster.

*/ inline long long GetNfsExportedVolumes() const{ return m_nfsExportedVolumes; } /** *

The number of NFS volumes in the cluster.

*/ inline bool NfsExportedVolumesHasBeenSet() const { return m_nfsExportedVolumesHasBeenSet; } /** *

The number of NFS volumes in the cluster.

*/ inline void SetNfsExportedVolumes(long long value) { m_nfsExportedVolumesHasBeenSet = true; m_nfsExportedVolumes = value; } /** *

The number of NFS volumes in the cluster.

*/ inline NetAppONTAPCluster& WithNfsExportedVolumes(long long value) { SetNfsExportedVolumes(value); return *this;} /** *

The universally unique identifier (UUID) of the cluster.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The universally unique identifier (UUID) of the cluster.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The universally unique identifier (UUID) of the cluster.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

The universally unique identifier (UUID) of the cluster.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

The universally unique identifier (UUID) of the cluster.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

The universally unique identifier (UUID) of the cluster.

*/ inline NetAppONTAPCluster& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The universally unique identifier (UUID) of the cluster.

*/ inline NetAppONTAPCluster& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The universally unique identifier (UUID) of the cluster.

*/ inline NetAppONTAPCluster& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

The name of the cluster.

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

The name of the cluster.

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

The name of the cluster.

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

The name of the cluster.

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

The name of the cluster.

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

The name of the cluster.

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

The name of the cluster.

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

The name of the cluster.

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

The performance data that DataSync Discovery collects about the cluster.

*/ inline const MaxP95Performance& GetMaxP95Performance() const{ return m_maxP95Performance; } /** *

The performance data that DataSync Discovery collects about the cluster.

*/ inline bool MaxP95PerformanceHasBeenSet() const { return m_maxP95PerformanceHasBeenSet; } /** *

The performance data that DataSync Discovery collects about the cluster.

*/ inline void SetMaxP95Performance(const MaxP95Performance& value) { m_maxP95PerformanceHasBeenSet = true; m_maxP95Performance = value; } /** *

The performance data that DataSync Discovery collects about the cluster.

*/ inline void SetMaxP95Performance(MaxP95Performance&& value) { m_maxP95PerformanceHasBeenSet = true; m_maxP95Performance = std::move(value); } /** *

The performance data that DataSync Discovery collects about the cluster.

*/ inline NetAppONTAPCluster& WithMaxP95Performance(const MaxP95Performance& value) { SetMaxP95Performance(value); return *this;} /** *

The performance data that DataSync Discovery collects about the cluster.

*/ inline NetAppONTAPCluster& WithMaxP95Performance(MaxP95Performance&& value) { SetMaxP95Performance(std::move(value)); return *this;} /** *

The total storage space that's available in the cluster.

*/ inline long long GetClusterBlockStorageSize() const{ return m_clusterBlockStorageSize; } /** *

The total storage space that's available in the cluster.

*/ inline bool ClusterBlockStorageSizeHasBeenSet() const { return m_clusterBlockStorageSizeHasBeenSet; } /** *

The total storage space that's available in the cluster.

*/ inline void SetClusterBlockStorageSize(long long value) { m_clusterBlockStorageSizeHasBeenSet = true; m_clusterBlockStorageSize = value; } /** *

The total storage space that's available in the cluster.

*/ inline NetAppONTAPCluster& WithClusterBlockStorageSize(long long value) { SetClusterBlockStorageSize(value); return *this;} /** *

The storage space that's being used in a cluster.

*/ inline long long GetClusterBlockStorageUsed() const{ return m_clusterBlockStorageUsed; } /** *

The storage space that's being used in a cluster.

*/ inline bool ClusterBlockStorageUsedHasBeenSet() const { return m_clusterBlockStorageUsedHasBeenSet; } /** *

The storage space that's being used in a cluster.

*/ inline void SetClusterBlockStorageUsed(long long value) { m_clusterBlockStorageUsedHasBeenSet = true; m_clusterBlockStorageUsed = value; } /** *

The storage space that's being used in a cluster.

*/ inline NetAppONTAPCluster& WithClusterBlockStorageUsed(long long value) { SetClusterBlockStorageUsed(value); return *this;} /** *

The storage space that's being used in the cluster without accounting for * compression or deduplication.

*/ inline long long GetClusterBlockStorageLogicalUsed() const{ return m_clusterBlockStorageLogicalUsed; } /** *

The storage space that's being used in the cluster without accounting for * compression or deduplication.

*/ inline bool ClusterBlockStorageLogicalUsedHasBeenSet() const { return m_clusterBlockStorageLogicalUsedHasBeenSet; } /** *

The storage space that's being used in the cluster without accounting for * compression or deduplication.

*/ inline void SetClusterBlockStorageLogicalUsed(long long value) { m_clusterBlockStorageLogicalUsedHasBeenSet = true; m_clusterBlockStorageLogicalUsed = value; } /** *

The storage space that's being used in the cluster without accounting for * compression or deduplication.

*/ inline NetAppONTAPCluster& WithClusterBlockStorageLogicalUsed(long long value) { SetClusterBlockStorageLogicalUsed(value); return *this;} /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline const Aws::Vector& GetRecommendations() const{ return m_recommendations; } /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline bool RecommendationsHasBeenSet() const { return m_recommendationsHasBeenSet; } /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline void SetRecommendations(const Aws::Vector& value) { m_recommendationsHasBeenSet = true; m_recommendations = value; } /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline void SetRecommendations(Aws::Vector&& value) { m_recommendationsHasBeenSet = true; m_recommendations = std::move(value); } /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline NetAppONTAPCluster& WithRecommendations(const Aws::Vector& value) { SetRecommendations(value); return *this;} /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline NetAppONTAPCluster& WithRecommendations(Aws::Vector&& value) { SetRecommendations(std::move(value)); return *this;} /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline NetAppONTAPCluster& AddRecommendations(const Recommendation& value) { m_recommendationsHasBeenSet = true; m_recommendations.push_back(value); return *this; } /** *

The Amazon Web Services storage services that DataSync Discovery recommends * for the cluster. For more information, see Recommendations * provided by DataSync Discovery.

*/ inline NetAppONTAPCluster& AddRecommendations(Recommendation&& value) { m_recommendationsHasBeenSet = true; m_recommendations.push_back(std::move(value)); return *this; } /** *

Indicates whether DataSync Discovery recommendations for the cluster are * ready to view, incomplete, or can't be determined.

For more information, * see Recommendation * statuses.

*/ inline const RecommendationStatus& GetRecommendationStatus() const{ return m_recommendationStatus; } /** *

Indicates whether DataSync Discovery recommendations for the cluster are * ready to view, incomplete, or can't be determined.

For more information, * see Recommendation * statuses.

*/ inline bool RecommendationStatusHasBeenSet() const { return m_recommendationStatusHasBeenSet; } /** *

Indicates whether DataSync Discovery recommendations for the cluster are * ready to view, incomplete, or can't be determined.

For more information, * see Recommendation * statuses.

*/ inline void SetRecommendationStatus(const RecommendationStatus& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = value; } /** *

Indicates whether DataSync Discovery recommendations for the cluster are * ready to view, incomplete, or can't be determined.

For more information, * see Recommendation * statuses.

*/ inline void SetRecommendationStatus(RecommendationStatus&& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = std::move(value); } /** *

Indicates whether DataSync Discovery recommendations for the cluster are * ready to view, incomplete, or can't be determined.

For more information, * see Recommendation * statuses.

*/ inline NetAppONTAPCluster& WithRecommendationStatus(const RecommendationStatus& value) { SetRecommendationStatus(value); return *this;} /** *

Indicates whether DataSync Discovery recommendations for the cluster are * ready to view, incomplete, or can't be determined.

For more information, * see Recommendation * statuses.

*/ inline NetAppONTAPCluster& WithRecommendationStatus(RecommendationStatus&& value) { SetRecommendationStatus(std::move(value)); return *this;} /** *

The number of LUNs (logical unit numbers) in the cluster.

*/ inline long long GetLunCount() const{ return m_lunCount; } /** *

The number of LUNs (logical unit numbers) in the cluster.

*/ inline bool LunCountHasBeenSet() const { return m_lunCountHasBeenSet; } /** *

The number of LUNs (logical unit numbers) in the cluster.

*/ inline void SetLunCount(long long value) { m_lunCountHasBeenSet = true; m_lunCount = value; } /** *

The number of LUNs (logical unit numbers) in the cluster.

*/ inline NetAppONTAPCluster& WithLunCount(long long value) { SetLunCount(value); return *this;} private: long long m_cifsShareCount; bool m_cifsShareCountHasBeenSet = false; long long m_nfsExportedVolumes; bool m_nfsExportedVolumesHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; MaxP95Performance m_maxP95Performance; bool m_maxP95PerformanceHasBeenSet = false; long long m_clusterBlockStorageSize; bool m_clusterBlockStorageSizeHasBeenSet = false; long long m_clusterBlockStorageUsed; bool m_clusterBlockStorageUsedHasBeenSet = false; long long m_clusterBlockStorageLogicalUsed; bool m_clusterBlockStorageLogicalUsedHasBeenSet = false; Aws::Vector m_recommendations; bool m_recommendationsHasBeenSet = false; RecommendationStatus m_recommendationStatus; bool m_recommendationStatusHasBeenSet = false; long long m_lunCount; bool m_lunCountHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws