AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteFileSystemRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EFS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteFileSystem"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
42 
46  inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
47 
51  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
52 
56  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
57 
61  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
62 
66  inline DeleteFileSystemRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
67 
71  inline DeleteFileSystemRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
72 
76  inline DeleteFileSystemRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_fileSystemId;
81  bool m_fileSystemIdHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace EFS
86 } // namespace Aws
EFS_EXPORTS.h
EFSRequest.h
AWS_EFS_API
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:28
Aws::Transfer::Model::Domain::NOT_SET
@ NOT_SET
Aws::EFS::Model::DeleteFileSystemRequest::WithFileSystemId
DeleteFileSystemRequest & WithFileSystemId(const Aws::String &value)
Definition: DeleteFileSystemRequest.h:66
Aws::EFS::Model::DeleteFileSystemRequest::WithFileSystemId
DeleteFileSystemRequest & WithFileSystemId(const char *value)
Definition: DeleteFileSystemRequest.h:76
Aws::EFS::Model::DeleteFileSystemRequest::SetFileSystemId
void SetFileSystemId(const Aws::String &value)
Definition: DeleteFileSystemRequest.h:51
Aws::EFS::Model::DeleteFileSystemRequest::DeleteFileSystemRequest
DeleteFileSystemRequest()
Aws::EFS::Model::DeleteFileSystemRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteFileSystemRequest.h:33
AWSString.h
Aws::EFS::Model::DeleteFileSystemRequest::FileSystemIdHasBeenSet
bool FileSystemIdHasBeenSet() const
Definition: DeleteFileSystemRequest.h:46
Aws::EFS::Model::DeleteFileSystemRequest::SetFileSystemId
void SetFileSystemId(const char *value)
Definition: DeleteFileSystemRequest.h:61
Aws::EFS::EFSRequest
Definition: EFSRequest.h:17
Aws::EFS::Model::DeleteFileSystemRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::EFS::Model::DeleteFileSystemRequest::GetFileSystemId
const Aws::String & GetFileSystemId() const
Definition: DeleteFileSystemRequest.h:41
Aws::EFS::Model::DeleteFileSystemRequest::SetFileSystemId
void SetFileSystemId(Aws::String &&value)
Definition: DeleteFileSystemRequest.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EFS::Model::DeleteFileSystemRequest
Definition: DeleteFileSystemRequest.h:25
Aws::EFS::Model::DeleteFileSystemRequest::WithFileSystemId
DeleteFileSystemRequest & WithFileSystemId(Aws::String &&value)
Definition: DeleteFileSystemRequest.h:71