AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DisassociateFileSystemRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace StorageGateway {
15namespace Model {
16
20 public:
21 AWS_STORAGEGATEWAY_API DisassociateFileSystemRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DisassociateFileSystem"; }
28
29 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
30
31 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetFileSystemAssociationARN() const { return m_fileSystemAssociationARN; }
39 inline bool FileSystemAssociationARNHasBeenSet() const { return m_fileSystemAssociationARNHasBeenSet; }
40 template <typename FileSystemAssociationARNT = Aws::String>
41 void SetFileSystemAssociationARN(FileSystemAssociationARNT&& value) {
42 m_fileSystemAssociationARNHasBeenSet = true;
43 m_fileSystemAssociationARN = std::forward<FileSystemAssociationARNT>(value);
44 }
45 template <typename FileSystemAssociationARNT = Aws::String>
46 DisassociateFileSystemRequest& WithFileSystemAssociationARN(FileSystemAssociationARNT&& value) {
47 SetFileSystemAssociationARN(std::forward<FileSystemAssociationARNT>(value));
48 return *this;
49 }
51
53
60 inline bool GetForceDelete() const { return m_forceDelete; }
61 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
62 inline void SetForceDelete(bool value) {
63 m_forceDeleteHasBeenSet = true;
64 m_forceDelete = value;
65 }
67 SetForceDelete(value);
68 return *this;
69 }
71 private:
72 Aws::String m_fileSystemAssociationARN;
73
74 bool m_forceDelete{false};
75 bool m_fileSystemAssociationARNHasBeenSet = false;
76 bool m_forceDeleteHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace StorageGateway
81} // namespace Aws
DisassociateFileSystemRequest & WithFileSystemAssociationARN(FileSystemAssociationARNT &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AWS_STORAGEGATEWAY_API DisassociateFileSystemRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String