/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace EFS { namespace Model { /** */ class DeleteFileSystemPolicyRequest : public EFSRequest { public: AWS_EFS_API DeleteFileSystemPolicyRequest(); // 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 "DeleteFileSystemPolicy"; } AWS_EFS_API Aws::String SerializePayload() const override; /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline DeleteFileSystemPolicyRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline DeleteFileSystemPolicyRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *

Specifies the EFS file system for which to delete the * FileSystemPolicy.

*/ inline DeleteFileSystemPolicyRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} private: Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; }; } // namespace Model } // namespace EFS } // namespace Aws