/** * 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 { namespace DataSync { namespace Model { /** */ class AWS_DATASYNC_API CreateLocationFsxWindowsRequest : public DataSyncRequest { public: CreateLocationFsxWindowsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateLocationFsxWindows"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; } /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; } /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; } /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); } /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); } /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline CreateLocationFsxWindowsRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;} /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline CreateLocationFsxWindowsRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;} /** *

A subdirectory in the location’s path. This subdirectory in the Amazon FSx * for Windows file system is used to read data from the Amazon FSx for Windows * source location or write data to the FSx for Windows destination.

*/ inline CreateLocationFsxWindowsRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;} /** *

The Amazon Resource Name (ARN) for the FSx for Windows file system.

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

The Amazon Resource Name (ARN) for the FSx for Windows file system.

*/ inline bool FsxFilesystemArnHasBeenSet() const { return m_fsxFilesystemArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the FSx for Windows file system.

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

The Amazon Resource Name (ARN) for the FSx for Windows file system.

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

The Amazon Resource Name (ARN) for the FSx for Windows file system.

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

The Amazon Resource Name (ARN) for the FSx for Windows file system.

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

The Amazon Resource Name (ARN) for the FSx for Windows file system.

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

The Amazon Resource Name (ARN) for the FSx for Windows file system.

*/ inline CreateLocationFsxWindowsRequest& WithFsxFilesystemArn(const char* value) { SetFsxFilesystemArn(value); return *this;} /** *

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

*/ inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; } /** *

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to * configure the FSx for Windows file system.

*/ inline CreateLocationFsxWindowsRequest& AddSecurityGroupArns(const char* value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; } /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline CreateLocationFsxWindowsRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline CreateLocationFsxWindowsRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline CreateLocationFsxWindowsRequest& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The key-value pair that represents a tag that you want to add to the * resource. The value can be an empty string. This value helps you manage, filter, * and search for your resources. We recommend that you create a name tag for your * location.

*/ inline CreateLocationFsxWindowsRequest& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The user who has the permissions to access files and folders in the FSx for * Windows 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 system.

*/ inline bool UserHasBeenSet() const { return m_userHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline CreateLocationFsxWindowsRequest& 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 system.

*/ inline CreateLocationFsxWindowsRequest& 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 system.

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

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

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

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

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *

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

*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *

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

*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *

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

*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *

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

*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *

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

*/ inline CreateLocationFsxWindowsRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *

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

*/ inline CreateLocationFsxWindowsRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *

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

*/ inline CreateLocationFsxWindowsRequest& WithPassword(const char* value) { SetPassword(value); return *this;} private: Aws::String m_subdirectory; bool m_subdirectoryHasBeenSet; Aws::String m_fsxFilesystemArn; bool m_fsxFilesystemArnHasBeenSet; Aws::Vector m_securityGroupArns; bool m_securityGroupArnsHasBeenSet; Aws::Vector m_tags; bool m_tagsHasBeenSet; Aws::String m_user; bool m_userHasBeenSet; Aws::String m_domain; bool m_domainHasBeenSet; Aws::String m_password; bool m_passwordHasBeenSet; }; } // namespace Model } // namespace DataSync } // namespace Aws