AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFileShareRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace StorageGateway
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_STORAGEGATEWAY_API DeleteFileShareRequest();
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 "DeleteFileShare"; }
34
35 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
36
37 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
45 inline bool FileShareARNHasBeenSet() const { return m_fileShareARNHasBeenSet; }
46 inline void SetFileShareARN(const Aws::String& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = value; }
47 inline void SetFileShareARN(Aws::String&& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = std::move(value); }
48 inline void SetFileShareARN(const char* value) { m_fileShareARNHasBeenSet = true; m_fileShareARN.assign(value); }
49 inline DeleteFileShareRequest& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
50 inline DeleteFileShareRequest& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
51 inline DeleteFileShareRequest& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
53
55
63 inline bool GetForceDelete() const{ return m_forceDelete; }
64 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
65 inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; }
66 inline DeleteFileShareRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;}
68 private:
69
70 Aws::String m_fileShareARN;
71 bool m_fileShareARNHasBeenSet = false;
72
73 bool m_forceDelete;
74 bool m_forceDeleteHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace StorageGateway
79} // namespace Aws
DeleteFileShareRequest & WithForceDelete(bool value)
DeleteFileShareRequest & WithFileShareARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteFileShareRequest & WithFileShareARN(const Aws::String &value)
DeleteFileShareRequest & WithFileShareARN(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String