/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DataSync { namespace Model { class DescribeStorageSystemResult { public: AWS_DATASYNC_API DescribeStorageSystemResult(); AWS_DATASYNC_API DescribeStorageSystemResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API DescribeStorageSystemResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the on-premises storage system that the discovery job looked * at.

*/ inline const Aws::String& GetStorageSystemArn() const{ return m_storageSystemArn; } /** *

The ARN of the on-premises storage system that the discovery job looked * at.

*/ inline void SetStorageSystemArn(const Aws::String& value) { m_storageSystemArn = value; } /** *

The ARN of the on-premises storage system that the discovery job looked * at.

*/ inline void SetStorageSystemArn(Aws::String&& value) { m_storageSystemArn = std::move(value); } /** *

The ARN of the on-premises storage system that the discovery job looked * at.

*/ inline void SetStorageSystemArn(const char* value) { m_storageSystemArn.assign(value); } /** *

The ARN of the on-premises storage system that the discovery job looked * at.

*/ inline DescribeStorageSystemResult& WithStorageSystemArn(const Aws::String& value) { SetStorageSystemArn(value); return *this;} /** *

The ARN of the on-premises storage system that the discovery job looked * at.

*/ inline DescribeStorageSystemResult& WithStorageSystemArn(Aws::String&& value) { SetStorageSystemArn(std::move(value)); return *this;} /** *

The ARN of the on-premises storage system that the discovery job looked * at.

*/ inline DescribeStorageSystemResult& WithStorageSystemArn(const char* value) { SetStorageSystemArn(value); return *this;} /** *

The server name and network port required to connect with your on-premises * storage system's management interface.

*/ inline const DiscoveryServerConfiguration& GetServerConfiguration() const{ return m_serverConfiguration; } /** *

The server name and network port required to connect with your on-premises * storage system's management interface.

*/ inline void SetServerConfiguration(const DiscoveryServerConfiguration& value) { m_serverConfiguration = value; } /** *

The server name and network port required to connect with your on-premises * storage system's management interface.

*/ inline void SetServerConfiguration(DiscoveryServerConfiguration&& value) { m_serverConfiguration = std::move(value); } /** *

The server name and network port required to connect with your on-premises * storage system's management interface.

*/ inline DescribeStorageSystemResult& WithServerConfiguration(const DiscoveryServerConfiguration& value) { SetServerConfiguration(value); return *this;} /** *

The server name and network port required to connect with your on-premises * storage system's management interface.

*/ inline DescribeStorageSystemResult& WithServerConfiguration(DiscoveryServerConfiguration&& value) { SetServerConfiguration(std::move(value)); return *this;} /** *

The type of on-premises storage system.

DataSync Discovery * currently only supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS * (AFF) systems running ONTAP 9.7 or later.

*/ inline const DiscoverySystemType& GetSystemType() const{ return m_systemType; } /** *

The type of on-premises storage system.

DataSync Discovery * currently only supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS * (AFF) systems running ONTAP 9.7 or later.

*/ inline void SetSystemType(const DiscoverySystemType& value) { m_systemType = value; } /** *

The type of on-premises storage system.

DataSync Discovery * currently only supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS * (AFF) systems running ONTAP 9.7 or later.

*/ inline void SetSystemType(DiscoverySystemType&& value) { m_systemType = std::move(value); } /** *

The type of on-premises storage system.

DataSync Discovery * currently only supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS * (AFF) systems running ONTAP 9.7 or later.

*/ inline DescribeStorageSystemResult& WithSystemType(const DiscoverySystemType& value) { SetSystemType(value); return *this;} /** *

The type of on-premises storage system.

DataSync Discovery * currently only supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS * (AFF) systems running ONTAP 9.7 or later.

*/ inline DescribeStorageSystemResult& WithSystemType(DiscoverySystemType&& value) { SetSystemType(std::move(value)); return *this;} /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline const Aws::Vector& GetAgentArns() const{ return m_agentArns; } /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline void SetAgentArns(const Aws::Vector& value) { m_agentArns = value; } /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline void SetAgentArns(Aws::Vector&& value) { m_agentArns = std::move(value); } /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline DescribeStorageSystemResult& WithAgentArns(const Aws::Vector& value) { SetAgentArns(value); return *this;} /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline DescribeStorageSystemResult& WithAgentArns(Aws::Vector&& value) { SetAgentArns(std::move(value)); return *this;} /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline DescribeStorageSystemResult& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; } /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline DescribeStorageSystemResult& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; } /** *

The ARN of the DataSync agent that connects to and reads from your * on-premises storage system.

*/ inline DescribeStorageSystemResult& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; } /** *

The name that you gave your on-premises storage system when adding it to * DataSync Discovery.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name that you gave your on-premises storage system when adding it to * DataSync Discovery.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name that you gave your on-premises storage system when adding it to * DataSync Discovery.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name that you gave your on-premises storage system when adding it to * DataSync Discovery.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name that you gave your on-premises storage system when adding it to * DataSync Discovery.

*/ inline DescribeStorageSystemResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name that you gave your on-premises storage system when adding it to * DataSync Discovery.

*/ inline DescribeStorageSystemResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name that you gave your on-premises storage system when adding it to * DataSync Discovery.

*/ inline DescribeStorageSystemResult& WithName(const char* value) { SetName(value); return *this;} /** *

Describes the connectivity error that the DataSync agent is encountering with * your on-premises storage system.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

Describes the connectivity error that the DataSync agent is encountering with * your on-premises storage system.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } /** *

Describes the connectivity error that the DataSync agent is encountering with * your on-premises storage system.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } /** *

Describes the connectivity error that the DataSync agent is encountering with * your on-premises storage system.

*/ inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } /** *

Describes the connectivity error that the DataSync agent is encountering with * your on-premises storage system.

*/ inline DescribeStorageSystemResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

Describes the connectivity error that the DataSync agent is encountering with * your on-premises storage system.

*/ inline DescribeStorageSystemResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

Describes the connectivity error that the DataSync agent is encountering with * your on-premises storage system.

*/ inline DescribeStorageSystemResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *

Indicates whether your DataSync agent can connect to your on-premises storage * system.

*/ inline const StorageSystemConnectivityStatus& GetConnectivityStatus() const{ return m_connectivityStatus; } /** *

Indicates whether your DataSync agent can connect to your on-premises storage * system.

*/ inline void SetConnectivityStatus(const StorageSystemConnectivityStatus& value) { m_connectivityStatus = value; } /** *

Indicates whether your DataSync agent can connect to your on-premises storage * system.

*/ inline void SetConnectivityStatus(StorageSystemConnectivityStatus&& value) { m_connectivityStatus = std::move(value); } /** *

Indicates whether your DataSync agent can connect to your on-premises storage * system.

*/ inline DescribeStorageSystemResult& WithConnectivityStatus(const StorageSystemConnectivityStatus& value) { SetConnectivityStatus(value); return *this;} /** *

Indicates whether your DataSync agent can connect to your on-premises storage * system.

*/ inline DescribeStorageSystemResult& WithConnectivityStatus(StorageSystemConnectivityStatus&& value) { SetConnectivityStatus(std::move(value)); return *this;} /** *

The ARN of the Amazon CloudWatch log group that's used to monitor and log * discovery job events.

*/ inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; } /** *

The ARN of the Amazon CloudWatch log group that's used to monitor and log * discovery job events.

*/ inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArn = value; } /** *

The ARN of the Amazon CloudWatch log group that's used to monitor and log * discovery job events.

*/ inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArn = std::move(value); } /** *

The ARN of the Amazon CloudWatch log group that's used to monitor and log * discovery job events.

*/ inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArn.assign(value); } /** *

The ARN of the Amazon CloudWatch log group that's used to monitor and log * discovery job events.

*/ inline DescribeStorageSystemResult& WithCloudWatchLogGroupArn(const Aws::String& value) { SetCloudWatchLogGroupArn(value); return *this;} /** *

The ARN of the Amazon CloudWatch log group that's used to monitor and log * discovery job events.

*/ inline DescribeStorageSystemResult& WithCloudWatchLogGroupArn(Aws::String&& value) { SetCloudWatchLogGroupArn(std::move(value)); return *this;} /** *

The ARN of the Amazon CloudWatch log group that's used to monitor and log * discovery job events.

*/ inline DescribeStorageSystemResult& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;} /** *

The time when you added the on-premises storage system to DataSync * Discovery.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time when you added the on-premises storage system to DataSync * Discovery.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time when you added the on-premises storage system to DataSync * Discovery.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The time when you added the on-premises storage system to DataSync * Discovery.

*/ inline DescribeStorageSystemResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time when you added the on-premises storage system to DataSync * Discovery.

*/ inline DescribeStorageSystemResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The ARN of the secret that stores your on-premises storage system's * credentials. DataSync Discovery stores these credentials in Secrets * Manager.

*/ inline const Aws::String& GetSecretsManagerArn() const{ return m_secretsManagerArn; } /** *

The ARN of the secret that stores your on-premises storage system's * credentials. DataSync Discovery stores these credentials in Secrets * Manager.

*/ inline void SetSecretsManagerArn(const Aws::String& value) { m_secretsManagerArn = value; } /** *

The ARN of the secret that stores your on-premises storage system's * credentials. DataSync Discovery stores these credentials in Secrets * Manager.

*/ inline void SetSecretsManagerArn(Aws::String&& value) { m_secretsManagerArn = std::move(value); } /** *

The ARN of the secret that stores your on-premises storage system's * credentials. DataSync Discovery stores these credentials in Secrets * Manager.

*/ inline void SetSecretsManagerArn(const char* value) { m_secretsManagerArn.assign(value); } /** *

The ARN of the secret that stores your on-premises storage system's * credentials. DataSync Discovery stores these credentials in Secrets * Manager.

*/ inline DescribeStorageSystemResult& WithSecretsManagerArn(const Aws::String& value) { SetSecretsManagerArn(value); return *this;} /** *

The ARN of the secret that stores your on-premises storage system's * credentials. DataSync Discovery stores these credentials in Secrets * Manager.

*/ inline DescribeStorageSystemResult& WithSecretsManagerArn(Aws::String&& value) { SetSecretsManagerArn(std::move(value)); return *this;} /** *

The ARN of the secret that stores your on-premises storage system's * credentials. DataSync Discovery stores these credentials in Secrets * Manager.

*/ inline DescribeStorageSystemResult& WithSecretsManagerArn(const char* value) { SetSecretsManagerArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeStorageSystemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeStorageSystemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeStorageSystemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_storageSystemArn; DiscoveryServerConfiguration m_serverConfiguration; DiscoverySystemType m_systemType; Aws::Vector m_agentArns; Aws::String m_name; Aws::String m_errorMessage; StorageSystemConnectivityStatus m_connectivityStatus; Aws::String m_cloudWatchLogGroupArn; Aws::Utils::DateTime m_creationTime; Aws::String m_secretsManagerArn; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws