AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RefreshCacheRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace StorageGateway
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_STORAGEGATEWAY_API RefreshCacheRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "RefreshCache"; }
35
36 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
37
38 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
46 inline bool FileShareARNHasBeenSet() const { return m_fileShareARNHasBeenSet; }
47 inline void SetFileShareARN(const Aws::String& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = value; }
48 inline void SetFileShareARN(Aws::String&& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = std::move(value); }
49 inline void SetFileShareARN(const char* value) { m_fileShareARNHasBeenSet = true; m_fileShareARN.assign(value); }
50 inline RefreshCacheRequest& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
51 inline RefreshCacheRequest& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
52 inline RefreshCacheRequest& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
54
56
65 inline const Aws::Vector<Aws::String>& GetFolderList() const{ return m_folderList; }
66 inline bool FolderListHasBeenSet() const { return m_folderListHasBeenSet; }
67 inline void SetFolderList(const Aws::Vector<Aws::String>& value) { m_folderListHasBeenSet = true; m_folderList = value; }
68 inline void SetFolderList(Aws::Vector<Aws::String>&& value) { m_folderListHasBeenSet = true; m_folderList = std::move(value); }
69 inline RefreshCacheRequest& WithFolderList(const Aws::Vector<Aws::String>& value) { SetFolderList(value); return *this;}
70 inline RefreshCacheRequest& WithFolderList(Aws::Vector<Aws::String>&& value) { SetFolderList(std::move(value)); return *this;}
71 inline RefreshCacheRequest& AddFolderList(const Aws::String& value) { m_folderListHasBeenSet = true; m_folderList.push_back(value); return *this; }
72 inline RefreshCacheRequest& AddFolderList(Aws::String&& value) { m_folderListHasBeenSet = true; m_folderList.push_back(std::move(value)); return *this; }
73 inline RefreshCacheRequest& AddFolderList(const char* value) { m_folderListHasBeenSet = true; m_folderList.push_back(value); return *this; }
75
77
87 inline bool GetRecursive() const{ return m_recursive; }
88 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
89 inline void SetRecursive(bool value) { m_recursiveHasBeenSet = true; m_recursive = value; }
90 inline RefreshCacheRequest& WithRecursive(bool value) { SetRecursive(value); return *this;}
92 private:
93
94 Aws::String m_fileShareARN;
95 bool m_fileShareARNHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_folderList;
98 bool m_folderListHasBeenSet = false;
99
100 bool m_recursive;
101 bool m_recursiveHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace StorageGateway
106} // namespace Aws
const Aws::Vector< Aws::String > & GetFolderList() const
RefreshCacheRequest & WithFileShareARN(const char *value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
RefreshCacheRequest & AddFolderList(const char *value)
void SetFolderList(const Aws::Vector< Aws::String > &value)
RefreshCacheRequest & WithFolderList(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
RefreshCacheRequest & WithFileShareARN(Aws::String &&value)
RefreshCacheRequest & WithFileShareARN(const Aws::String &value)
RefreshCacheRequest & WithFolderList(const Aws::Vector< Aws::String > &value)
void SetFolderList(Aws::Vector< Aws::String > &&value)
RefreshCacheRequest & AddFolderList(const Aws::String &value)
RefreshCacheRequest & AddFolderList(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RefreshCacheRequest & WithRecursive(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector