/** * 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 a storage virtual * machine (SVM) in your on-premises storage system.

See Also:

AWS * API Reference

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

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline const Aws::String& GetClusterUuid() const{ return m_clusterUuid; } /** *

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline bool ClusterUuidHasBeenSet() const { return m_clusterUuidHasBeenSet; } /** *

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline void SetClusterUuid(const Aws::String& value) { m_clusterUuidHasBeenSet = true; m_clusterUuid = value; } /** *

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline void SetClusterUuid(Aws::String&& value) { m_clusterUuidHasBeenSet = true; m_clusterUuid = std::move(value); } /** *

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline void SetClusterUuid(const char* value) { m_clusterUuidHasBeenSet = true; m_clusterUuid.assign(value); } /** *

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline NetAppONTAPSVM& WithClusterUuid(const Aws::String& value) { SetClusterUuid(value); return *this;} /** *

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline NetAppONTAPSVM& WithClusterUuid(Aws::String&& value) { SetClusterUuid(std::move(value)); return *this;} /** *

The universally unique identifier (UUID) of the cluster associated with the * SVM.

*/ inline NetAppONTAPSVM& WithClusterUuid(const char* value) { SetClusterUuid(value); return *this;} /** *

The UUID of the SVM.

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

The UUID of the SVM.

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

The UUID of the SVM.

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

The UUID of the SVM.

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

The UUID of the SVM.

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

The UUID of the SVM.

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

The UUID of the SVM.

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

The UUID of the SVM.

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

The name of the SVM

*/ inline const Aws::String& GetSvmName() const{ return m_svmName; } /** *

The name of the SVM

*/ inline bool SvmNameHasBeenSet() const { return m_svmNameHasBeenSet; } /** *

The name of the SVM

*/ inline void SetSvmName(const Aws::String& value) { m_svmNameHasBeenSet = true; m_svmName = value; } /** *

The name of the SVM

*/ inline void SetSvmName(Aws::String&& value) { m_svmNameHasBeenSet = true; m_svmName = std::move(value); } /** *

The name of the SVM

*/ inline void SetSvmName(const char* value) { m_svmNameHasBeenSet = true; m_svmName.assign(value); } /** *

The name of the SVM

*/ inline NetAppONTAPSVM& WithSvmName(const Aws::String& value) { SetSvmName(value); return *this;} /** *

The name of the SVM

*/ inline NetAppONTAPSVM& WithSvmName(Aws::String&& value) { SetSvmName(std::move(value)); return *this;} /** *

The name of the SVM

*/ inline NetAppONTAPSVM& WithSvmName(const char* value) { SetSvmName(value); return *this;} /** *

The number of CIFS shares in the SVM.

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

The number of CIFS shares in the SVM.

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

The number of CIFS shares in the SVM.

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

The number of CIFS shares in the SVM.

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

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline const Aws::Vector& GetEnabledProtocols() const{ return m_enabledProtocols; } /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline bool EnabledProtocolsHasBeenSet() const { return m_enabledProtocolsHasBeenSet; } /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline void SetEnabledProtocols(const Aws::Vector& value) { m_enabledProtocolsHasBeenSet = true; m_enabledProtocols = value; } /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline void SetEnabledProtocols(Aws::Vector&& value) { m_enabledProtocolsHasBeenSet = true; m_enabledProtocols = std::move(value); } /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline NetAppONTAPSVM& WithEnabledProtocols(const Aws::Vector& value) { SetEnabledProtocols(value); return *this;} /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline NetAppONTAPSVM& WithEnabledProtocols(Aws::Vector&& value) { SetEnabledProtocols(std::move(value)); return *this;} /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline NetAppONTAPSVM& AddEnabledProtocols(const Aws::String& value) { m_enabledProtocolsHasBeenSet = true; m_enabledProtocols.push_back(value); return *this; } /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline NetAppONTAPSVM& AddEnabledProtocols(Aws::String&& value) { m_enabledProtocolsHasBeenSet = true; m_enabledProtocols.push_back(std::move(value)); return *this; } /** *

The data transfer protocols (such as NFS) configured for the SVM.

*/ inline NetAppONTAPSVM& AddEnabledProtocols(const char* value) { m_enabledProtocolsHasBeenSet = true; m_enabledProtocols.push_back(value); return *this; } /** *

The storage space that's being used in the SVM.

*/ inline long long GetTotalCapacityUsed() const{ return m_totalCapacityUsed; } /** *

The storage space that's being used in the SVM.

*/ inline bool TotalCapacityUsedHasBeenSet() const { return m_totalCapacityUsedHasBeenSet; } /** *

The storage space that's being used in the SVM.

*/ inline void SetTotalCapacityUsed(long long value) { m_totalCapacityUsedHasBeenSet = true; m_totalCapacityUsed = value; } /** *

The storage space that's being used in the SVM.

*/ inline NetAppONTAPSVM& WithTotalCapacityUsed(long long value) { SetTotalCapacityUsed(value); return *this;} /** *

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

*/ inline long long GetTotalCapacityProvisioned() const{ return m_totalCapacityProvisioned; } /** *

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

*/ inline bool TotalCapacityProvisionedHasBeenSet() const { return m_totalCapacityProvisionedHasBeenSet; } /** *

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

*/ inline void SetTotalCapacityProvisioned(long long value) { m_totalCapacityProvisionedHasBeenSet = true; m_totalCapacityProvisioned = value; } /** *

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

*/ inline NetAppONTAPSVM& WithTotalCapacityProvisioned(long long value) { SetTotalCapacityProvisioned(value); return *this;} /** *

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

*/ inline long long GetTotalLogicalCapacityUsed() const{ return m_totalLogicalCapacityUsed; } /** *

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

*/ inline bool TotalLogicalCapacityUsedHasBeenSet() const { return m_totalLogicalCapacityUsedHasBeenSet; } /** *

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

*/ inline void SetTotalLogicalCapacityUsed(long long value) { m_totalLogicalCapacityUsedHasBeenSet = true; m_totalLogicalCapacityUsed = value; } /** *

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

*/ inline NetAppONTAPSVM& WithTotalLogicalCapacityUsed(long long value) { SetTotalLogicalCapacityUsed(value); return *this;} /** *

The performance data that DataSync Discovery collects about the SVM.

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

The performance data that DataSync Discovery collects about the SVM.

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

The performance data that DataSync Discovery collects about the SVM.

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

The performance data that DataSync Discovery collects about the SVM.

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

The performance data that DataSync Discovery collects about the SVM.

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

The performance data that DataSync Discovery collects about the SVM.

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

The Amazon Web Services storage services that DataSync Discovery recommends * for the SVM. 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 SVM. 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 SVM. 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 SVM. 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 SVM. For more information, see Recommendations * provided by DataSync Discovery.

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

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

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

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

*/ inline NetAppONTAPSVM& 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 SVM. For more information, see Recommendations * provided by DataSync Discovery.

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

The number of NFS volumes in the SVM.

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

The number of NFS volumes in the SVM.

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

The number of NFS volumes in the SVM.

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

The number of NFS volumes in the SVM.

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

Indicates whether DataSync Discovery recommendations for the SVM 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 SVM 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 SVM 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 SVM 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 SVM are ready to * view, incomplete, or can't be determined.

For more information, see Recommendation * statuses.

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

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

For more information, see Recommendation * statuses.

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

The amount of storage in the SVM that's being used for snapshots.

*/ inline long long GetTotalSnapshotCapacityUsed() const{ return m_totalSnapshotCapacityUsed; } /** *

The amount of storage in the SVM that's being used for snapshots.

*/ inline bool TotalSnapshotCapacityUsedHasBeenSet() const { return m_totalSnapshotCapacityUsedHasBeenSet; } /** *

The amount of storage in the SVM that's being used for snapshots.

*/ inline void SetTotalSnapshotCapacityUsed(long long value) { m_totalSnapshotCapacityUsedHasBeenSet = true; m_totalSnapshotCapacityUsed = value; } /** *

The amount of storage in the SVM that's being used for snapshots.

*/ inline NetAppONTAPSVM& WithTotalSnapshotCapacityUsed(long long value) { SetTotalSnapshotCapacityUsed(value); return *this;} /** *

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

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

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

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

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

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

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

*/ inline NetAppONTAPSVM& WithLunCount(long long value) { SetLunCount(value); return *this;} private: Aws::String m_clusterUuid; bool m_clusterUuidHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_svmName; bool m_svmNameHasBeenSet = false; long long m_cifsShareCount; bool m_cifsShareCountHasBeenSet = false; Aws::Vector m_enabledProtocols; bool m_enabledProtocolsHasBeenSet = false; long long m_totalCapacityUsed; bool m_totalCapacityUsedHasBeenSet = false; long long m_totalCapacityProvisioned; bool m_totalCapacityProvisionedHasBeenSet = false; long long m_totalLogicalCapacityUsed; bool m_totalLogicalCapacityUsedHasBeenSet = false; MaxP95Performance m_maxP95Performance; bool m_maxP95PerformanceHasBeenSet = false; Aws::Vector m_recommendations; bool m_recommendationsHasBeenSet = false; long long m_nfsExportedVolumes; bool m_nfsExportedVolumesHasBeenSet = false; RecommendationStatus m_recommendationStatus; bool m_recommendationStatusHasBeenSet = false; long long m_totalSnapshotCapacityUsed; bool m_totalSnapshotCapacityUsedHasBeenSet = false; long long m_lunCount; bool m_lunCountHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws