AWS SDK for C++  1.9.107
AWS SDK for C++
DisassociateFileSystemRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DisassociateFileSystem"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetFileSystemAssociationARN() const{ return m_fileSystemAssociationARN; }
42 
47  inline bool FileSystemAssociationARNHasBeenSet() const { return m_fileSystemAssociationARNHasBeenSet; }
48 
53  inline void SetFileSystemAssociationARN(const Aws::String& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = value; }
54 
59  inline void SetFileSystemAssociationARN(Aws::String&& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = std::move(value); }
60 
65  inline void SetFileSystemAssociationARN(const char* value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN.assign(value); }
66 
71  inline DisassociateFileSystemRequest& WithFileSystemAssociationARN(const Aws::String& value) { SetFileSystemAssociationARN(value); return *this;}
72 
77  inline DisassociateFileSystemRequest& WithFileSystemAssociationARN(Aws::String&& value) { SetFileSystemAssociationARN(std::move(value)); return *this;}
78 
83  inline DisassociateFileSystemRequest& WithFileSystemAssociationARN(const char* value) { SetFileSystemAssociationARN(value); return *this;}
84 
85 
93  inline bool GetForceDelete() const{ return m_forceDelete; }
94 
102  inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
103 
111  inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; }
112 
120  inline DisassociateFileSystemRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;}
121 
122  private:
123 
124  Aws::String m_fileSystemAssociationARN;
125  bool m_fileSystemAssociationARNHasBeenSet;
126 
127  bool m_forceDelete;
128  bool m_forceDeleteHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace StorageGateway
133 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DisassociateFileSystemRequest::WithForceDelete
DisassociateFileSystemRequest & WithForceDelete(bool value)
Definition: DisassociateFileSystemRequest.h:120
Aws::StorageGateway::Model::DisassociateFileSystemRequest::GetFileSystemAssociationARN
const Aws::String & GetFileSystemAssociationARN() const
Definition: DisassociateFileSystemRequest.h:41
Aws::StorageGateway::Model::DisassociateFileSystemRequest::WithFileSystemAssociationARN
DisassociateFileSystemRequest & WithFileSystemAssociationARN(Aws::String &&value)
Definition: DisassociateFileSystemRequest.h:77
Aws::StorageGateway::Model::DisassociateFileSystemRequest::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const Aws::String &value)
Definition: DisassociateFileSystemRequest.h:53
Aws::StorageGateway::Model::DisassociateFileSystemRequest::WithFileSystemAssociationARN
DisassociateFileSystemRequest & WithFileSystemAssociationARN(const char *value)
Definition: DisassociateFileSystemRequest.h:83
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DisassociateFileSystemRequest::DisassociateFileSystemRequest
DisassociateFileSystemRequest()
Aws::StorageGateway::Model::DisassociateFileSystemRequest::GetForceDelete
bool GetForceDelete() const
Definition: DisassociateFileSystemRequest.h:93
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DisassociateFileSystemRequest::WithFileSystemAssociationARN
DisassociateFileSystemRequest & WithFileSystemAssociationARN(const Aws::String &value)
Definition: DisassociateFileSystemRequest.h:71
Aws::StorageGateway::Model::DisassociateFileSystemRequest::FileSystemAssociationARNHasBeenSet
bool FileSystemAssociationARNHasBeenSet() const
Definition: DisassociateFileSystemRequest.h:47
Aws::StorageGateway::Model::DisassociateFileSystemRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DisassociateFileSystemRequest::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const char *value)
Definition: DisassociateFileSystemRequest.h:65
Aws::StorageGateway::Model::DisassociateFileSystemRequest::ForceDeleteHasBeenSet
bool ForceDeleteHasBeenSet() const
Definition: DisassociateFileSystemRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DisassociateFileSystemRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::DisassociateFileSystemRequest
Definition: DisassociateFileSystemRequest.h:22
Aws::StorageGateway::Model::DisassociateFileSystemRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateFileSystemRequest.h:30
Aws::StorageGateway::Model::DisassociateFileSystemRequest::SetForceDelete
void SetForceDelete(bool value)
Definition: DisassociateFileSystemRequest.h:111
Aws::StorageGateway::Model::DisassociateFileSystemRequest::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(Aws::String &&value)
Definition: DisassociateFileSystemRequest.h:59