/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DescribeLocationFsxOntapResult { public: AWS_DATASYNC_API DescribeLocationFsxOntapResult(); AWS_DATASYNC_API DescribeLocationFsxOntapResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API DescribeLocationFsxOntapResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The time that the location was created.

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

The time that the location was created.

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

The time that the location was created.

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

The time that the location was created.

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

The time that the location was created.

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

The ARN of the FSx for ONTAP file system location.

*/ inline const Aws::String& GetLocationArn() const{ return m_locationArn; } /** *

The ARN of the FSx for ONTAP file system location.

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

The ARN of the FSx for ONTAP file system location.

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

The ARN of the FSx for ONTAP file system location.

*/ inline void SetLocationArn(const char* value) { m_locationArn.assign(value); } /** *

The ARN of the FSx for ONTAP file system location.

*/ inline DescribeLocationFsxOntapResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;} /** *

The ARN of the FSx for ONTAP file system location.

*/ inline DescribeLocationFsxOntapResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;} /** *

The ARN of the FSx for ONTAP file system location.

*/ inline DescribeLocationFsxOntapResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;} /** *

The uniform resource identifier (URI) of the FSx for ONTAP file system * location.

*/ inline const Aws::String& GetLocationUri() const{ return m_locationUri; } /** *

The uniform resource identifier (URI) of the FSx for ONTAP file system * location.

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

The uniform resource identifier (URI) of the FSx for ONTAP file system * location.

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

The uniform resource identifier (URI) of the FSx for ONTAP file system * location.

*/ inline void SetLocationUri(const char* value) { m_locationUri.assign(value); } /** *

The uniform resource identifier (URI) of the FSx for ONTAP file system * location.

*/ inline DescribeLocationFsxOntapResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;} /** *

The uniform resource identifier (URI) of the FSx for ONTAP file system * location.

*/ inline DescribeLocationFsxOntapResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;} /** *

The uniform resource identifier (URI) of the FSx for ONTAP file system * location.

*/ inline DescribeLocationFsxOntapResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;} inline const FsxProtocol& GetProtocol() const{ return m_protocol; } inline void SetProtocol(const FsxProtocol& value) { m_protocol = value; } inline void SetProtocol(FsxProtocol&& value) { m_protocol = std::move(value); } inline DescribeLocationFsxOntapResult& WithProtocol(const FsxProtocol& value) { SetProtocol(value); return *this;} inline DescribeLocationFsxOntapResult& WithProtocol(FsxProtocol&& value) { SetProtocol(std::move(value)); return *this;} /** *

The security groups that DataSync uses to access your FSx for ONTAP file * system.

*/ inline const Aws::Vector& GetSecurityGroupArns() const{ return m_securityGroupArns; } /** *

The security groups that DataSync uses to access your FSx for ONTAP file * system.

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

The security groups that DataSync uses to access your FSx for ONTAP file * system.

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

The security groups that DataSync uses to access your FSx for ONTAP file * system.

*/ inline DescribeLocationFsxOntapResult& WithSecurityGroupArns(const Aws::Vector& value) { SetSecurityGroupArns(value); return *this;} /** *

The security groups that DataSync uses to access your FSx for ONTAP file * system.

*/ inline DescribeLocationFsxOntapResult& WithSecurityGroupArns(Aws::Vector&& value) { SetSecurityGroupArns(std::move(value)); return *this;} /** *

The security groups that DataSync uses to access your FSx for ONTAP file * system.

*/ inline DescribeLocationFsxOntapResult& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArns.push_back(value); return *this; } /** *

The security groups that DataSync uses to access your FSx for ONTAP file * system.

*/ inline DescribeLocationFsxOntapResult& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArns.push_back(std::move(value)); return *this; } /** *

The security groups that DataSync uses to access your FSx for ONTAP file * system.

*/ inline DescribeLocationFsxOntapResult& AddSecurityGroupArns(const char* value) { m_securityGroupArns.push_back(value); return *this; } /** *

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file * system where you're copying data to or from.

*/ inline const Aws::String& GetStorageVirtualMachineArn() const{ return m_storageVirtualMachineArn; } /** *

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file * system where you're copying data to or from.

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

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file * system where you're copying data to or from.

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

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file * system where you're copying data to or from.

*/ inline void SetStorageVirtualMachineArn(const char* value) { m_storageVirtualMachineArn.assign(value); } /** *

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file * system where you're copying data to or from.

*/ inline DescribeLocationFsxOntapResult& WithStorageVirtualMachineArn(const Aws::String& value) { SetStorageVirtualMachineArn(value); return *this;} /** *

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file * system where you're copying data to or from.

*/ inline DescribeLocationFsxOntapResult& WithStorageVirtualMachineArn(Aws::String&& value) { SetStorageVirtualMachineArn(std::move(value)); return *this;} /** *

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file * system where you're copying data to or from.

*/ inline DescribeLocationFsxOntapResult& WithStorageVirtualMachineArn(const char* value) { SetStorageVirtualMachineArn(value); return *this;} /** *

The ARN of the FSx for ONTAP file system.

*/ inline const Aws::String& GetFsxFilesystemArn() const{ return m_fsxFilesystemArn; } /** *

The ARN of the FSx for ONTAP file system.

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

The ARN of the FSx for ONTAP file system.

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

The ARN of the FSx for ONTAP file system.

*/ inline void SetFsxFilesystemArn(const char* value) { m_fsxFilesystemArn.assign(value); } /** *

The ARN of the FSx for ONTAP file system.

*/ inline DescribeLocationFsxOntapResult& WithFsxFilesystemArn(const Aws::String& value) { SetFsxFilesystemArn(value); return *this;} /** *

The ARN of the FSx for ONTAP file system.

*/ inline DescribeLocationFsxOntapResult& WithFsxFilesystemArn(Aws::String&& value) { SetFsxFilesystemArn(std::move(value)); return *this;} /** *

The ARN of the FSx for ONTAP file system.

*/ inline DescribeLocationFsxOntapResult& WithFsxFilesystemArn(const char* value) { SetFsxFilesystemArn(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 DescribeLocationFsxOntapResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLocationFsxOntapResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLocationFsxOntapResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_creationTime; Aws::String m_locationArn; Aws::String m_locationUri; FsxProtocol m_protocol; Aws::Vector m_securityGroupArns; Aws::String m_storageVirtualMachineArn; Aws::String m_fsxFilesystemArn; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws