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

The Amazon Resource Name (ARN) of the FSx for Windows File Server location * that was described.

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

The Amazon Resource Name (ARN) of the FSx for Windows File Server location * that was described.

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

The Amazon Resource Name (ARN) of the FSx for Windows File Server location * that was described.

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

The Amazon Resource Name (ARN) of the FSx for Windows File Server location * that was described.

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

The Amazon Resource Name (ARN) of the FSx for Windows File Server location * that was described.

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

The Amazon Resource Name (ARN) of the FSx for Windows File Server location * that was described.

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

The Amazon Resource Name (ARN) of the FSx for Windows File Server location * that was described.

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

The URL of the FSx for Windows File Server location that was described.

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

The URL of the FSx for Windows File Server location that was described.

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

The URL of the FSx for Windows File Server location that was described.

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

The URL of the FSx for Windows File Server location that was described.

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

The URL of the FSx for Windows File Server location that was described.

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

The URL of the FSx for Windows File Server location that was described.

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

The URL of the FSx for Windows File Server location that was described.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured * for the FSx for Windows File Server file system.

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

The time that the FSx for Windows File Server location was created.

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

The time that the FSx for Windows File Server location was created.

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

The time that the FSx for Windows File Server location was created.

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

The time that the FSx for Windows File Server location was created.

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

The time that the FSx for Windows File Server location was created.

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

The user who has the permissions to access files and folders in the FSx for * Windows File Server file system.

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

The user who has the permissions to access files and folders in the FSx for * Windows File Server file system.

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

The user who has the permissions to access files and folders in the FSx for * Windows File Server file system.

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

The user who has the permissions to access files and folders in the FSx for * Windows File Server file system.

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

The user who has the permissions to access files and folders in the FSx for * Windows File Server file system.

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

The user who has the permissions to access files and folders in the FSx for * Windows File Server file system.

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

The user who has the permissions to access files and folders in the FSx for * Windows File Server file system.

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

The name of the Windows domain that the FSx for Windows File Server belongs * to.

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

The name of the Windows domain that the FSx for Windows File Server belongs * to.

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

The name of the Windows domain that the FSx for Windows File Server belongs * to.

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

The name of the Windows domain that the FSx for Windows File Server belongs * to.

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

The name of the Windows domain that the FSx for Windows File Server belongs * to.

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

The name of the Windows domain that the FSx for Windows File Server belongs * to.

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

The name of the Windows domain that the FSx for Windows File Server belongs * to.

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