/** * 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 { /** *

DescribeLocationSmbResponse

See Also:

AWS * API Reference

*/ class DescribeLocationSmbResult { public: AWS_DATASYNC_API DescribeLocationSmbResult(); AWS_DATASYNC_API DescribeLocationSmbResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API DescribeLocationSmbResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the SMB location that was described.

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

The Amazon Resource Name (ARN) of the SMB location that was described.

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

The Amazon Resource Name (ARN) of the SMB location that was described.

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

The Amazon Resource Name (ARN) of the SMB location that was described.

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

The Amazon Resource Name (ARN) of the SMB location that was described.

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

The Amazon Resource Name (ARN) of the SMB location that was described.

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

The Amazon Resource Name (ARN) of the SMB location that was described.

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

The URL of the source SMB location that was described.

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

The URL of the source SMB location that was described.

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

The URL of the source SMB location that was described.

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

The URL of the source SMB location that was described.

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

The URL of the source SMB location that was described.

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

The URL of the source SMB location that was described.

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

The URL of the source SMB location that was described.

*/ inline DescribeLocationSmbResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The Amazon Resource Name (ARN) of the source SMB file system location that is * created.

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

The user who can mount the share, has the permissions to access files and * folders in the SMB share.

*/ inline const Aws::String& GetUser() const{ return m_user; } /** *

The user who can mount the share, has the permissions to access files and * folders in the SMB share.

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

The user who can mount the share, has the permissions to access files and * folders in the SMB share.

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

The user who can mount the share, has the permissions to access files and * folders in the SMB share.

*/ inline void SetUser(const char* value) { m_user.assign(value); } /** *

The user who can mount the share, has the permissions to access files and * folders in the SMB share.

*/ inline DescribeLocationSmbResult& WithUser(const Aws::String& value) { SetUser(value); return *this;} /** *

The user who can mount the share, has the permissions to access files and * folders in the SMB share.

*/ inline DescribeLocationSmbResult& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;} /** *

The user who can mount the share, has the permissions to access files and * folders in the SMB share.

*/ inline DescribeLocationSmbResult& WithUser(const char* value) { SetUser(value); return *this;} /** *

The name of the Windows domain that the SMB server belongs to.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

The name of the Windows domain that the SMB server belongs to.

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

The name of the Windows domain that the SMB server belongs to.

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

The name of the Windows domain that the SMB server belongs to.

*/ inline void SetDomain(const char* value) { m_domain.assign(value); } /** *

The name of the Windows domain that the SMB server belongs to.

*/ inline DescribeLocationSmbResult& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

The name of the Windows domain that the SMB server belongs to.

*/ inline DescribeLocationSmbResult& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

The name of the Windows domain that the SMB server belongs to.

*/ inline DescribeLocationSmbResult& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

The mount options that are available for DataSync to use to access an SMB * location.

*/ inline const SmbMountOptions& GetMountOptions() const{ return m_mountOptions; } /** *

The mount options that are available for DataSync to use to access an SMB * location.

*/ inline void SetMountOptions(const SmbMountOptions& value) { m_mountOptions = value; } /** *

The mount options that are available for DataSync to use to access an SMB * location.

*/ inline void SetMountOptions(SmbMountOptions&& value) { m_mountOptions = std::move(value); } /** *

The mount options that are available for DataSync to use to access an SMB * location.

*/ inline DescribeLocationSmbResult& WithMountOptions(const SmbMountOptions& value) { SetMountOptions(value); return *this;} /** *

The mount options that are available for DataSync to use to access an SMB * location.

*/ inline DescribeLocationSmbResult& WithMountOptions(SmbMountOptions&& value) { SetMountOptions(std::move(value)); return *this;} /** *

The time that the SMB location was created.

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

The time that the SMB location was created.

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

The time that the SMB location was created.

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

The time that the SMB location was created.

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

The time that the SMB location was created.

*/ inline DescribeLocationSmbResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(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 DescribeLocationSmbResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLocationSmbResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLocationSmbResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_locationArn; Aws::String m_locationUri; Aws::Vector m_agentArns; Aws::String m_user; Aws::String m_domain; SmbMountOptions m_mountOptions; Aws::Utils::DateTime m_creationTime; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws