AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListMultipartUploadsRequest.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Glacier
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_GLACIER_API ListMultipartUploadsRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListMultipartUploads"; }
39
40 AWS_GLACIER_API Aws::String SerializePayload() const override;
41
42 AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
53 inline const Aws::String& GetAccountId() const { return m_accountId; }
54 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
55 template<typename AccountIdT = Aws::String>
56 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
57 template<typename AccountIdT = Aws::String>
58 ListMultipartUploadsRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetVaultName() const { return m_vaultName; }
66 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
67 template<typename VaultNameT = Aws::String>
68 void SetVaultName(VaultNameT&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::forward<VaultNameT>(value); }
69 template<typename VaultNameT = Aws::String>
70 ListMultipartUploadsRequest& WithVaultName(VaultNameT&& value) { SetVaultName(std::forward<VaultNameT>(value)); return *this;}
72
74
80 inline const Aws::String& GetMarker() const { return m_marker; }
81 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
82 template<typename MarkerT = Aws::String>
83 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
84 template<typename MarkerT = Aws::String>
85 ListMultipartUploadsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
87
89
94 inline const Aws::String& GetLimit() const { return m_limit; }
95 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
96 template<typename LimitT = Aws::String>
97 void SetLimit(LimitT&& value) { m_limitHasBeenSet = true; m_limit = std::forward<LimitT>(value); }
98 template<typename LimitT = Aws::String>
99 ListMultipartUploadsRequest& WithLimit(LimitT&& value) { SetLimit(std::forward<LimitT>(value)); return *this;}
101 private:
102
103 Aws::String m_accountId;
104 bool m_accountIdHasBeenSet = false;
105
106 Aws::String m_vaultName;
107 bool m_vaultNameHasBeenSet = false;
108
109 Aws::String m_marker;
110 bool m_markerHasBeenSet = false;
111
112 Aws::String m_limit;
113 bool m_limitHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Glacier
118} // namespace Aws
ListMultipartUploadsRequest & WithLimit(LimitT &&value)
AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMultipartUploadsRequest & WithVaultName(VaultNameT &&value)
virtual const char * GetServiceRequestName() const override
ListMultipartUploadsRequest & WithMarker(MarkerT &&value)
ListMultipartUploadsRequest & WithAccountId(AccountIdT &&value)
AWS_GLACIER_API ListMultipartUploadsRequest()=default
AWS_GLACIER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String