AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ListPartsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Glacier {
18namespace Model {
19
27 public:
28 AWS_GLACIER_API ListPartsRequest() = default;
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 "ListParts"; }
35
36 AWS_GLACIER_API Aws::String SerializePayload() const override;
37
38 AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
48 inline const Aws::String& GetAccountId() const { return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 template <typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) {
52 m_accountIdHasBeenSet = true;
53 m_accountId = std::forward<AccountIdT>(value);
54 }
55 template <typename AccountIdT = Aws::String>
56 ListPartsRequest& WithAccountId(AccountIdT&& value) {
57 SetAccountId(std::forward<AccountIdT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetVaultName() const { return m_vaultName; }
67 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
68 template <typename VaultNameT = Aws::String>
69 void SetVaultName(VaultNameT&& value) {
70 m_vaultNameHasBeenSet = true;
71 m_vaultName = std::forward<VaultNameT>(value);
72 }
73 template <typename VaultNameT = Aws::String>
74 ListPartsRequest& WithVaultName(VaultNameT&& value) {
75 SetVaultName(std::forward<VaultNameT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetUploadId() const { return m_uploadId; }
85 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
86 template <typename UploadIdT = Aws::String>
87 void SetUploadId(UploadIdT&& value) {
88 m_uploadIdHasBeenSet = true;
89 m_uploadId = std::forward<UploadIdT>(value);
90 }
91 template <typename UploadIdT = Aws::String>
92 ListPartsRequest& WithUploadId(UploadIdT&& value) {
93 SetUploadId(std::forward<UploadIdT>(value));
94 return *this;
95 }
97
99
106 inline const Aws::String& GetMarker() const { return m_marker; }
107 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
108 template <typename MarkerT = Aws::String>
109 void SetMarker(MarkerT&& value) {
110 m_markerHasBeenSet = true;
111 m_marker = std::forward<MarkerT>(value);
112 }
113 template <typename MarkerT = Aws::String>
114 ListPartsRequest& WithMarker(MarkerT&& value) {
115 SetMarker(std::forward<MarkerT>(value));
116 return *this;
117 }
119
121
126 inline const Aws::String& GetLimit() const { return m_limit; }
127 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
128 template <typename LimitT = Aws::String>
129 void SetLimit(LimitT&& value) {
130 m_limitHasBeenSet = true;
131 m_limit = std::forward<LimitT>(value);
132 }
133 template <typename LimitT = Aws::String>
134 ListPartsRequest& WithLimit(LimitT&& value) {
135 SetLimit(std::forward<LimitT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_accountId;
141
142 Aws::String m_vaultName;
143
144 Aws::String m_uploadId;
145
146 Aws::String m_marker;
147
148 Aws::String m_limit;
149 bool m_accountIdHasBeenSet = false;
150 bool m_vaultNameHasBeenSet = false;
151 bool m_uploadIdHasBeenSet = false;
152 bool m_markerHasBeenSet = false;
153 bool m_limitHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace Glacier
158} // namespace Aws
const Aws::String & GetAccountId() const
const Aws::String & GetUploadId() const
ListPartsRequest & WithLimit(LimitT &&value)
const Aws::String & GetMarker() const
AWS_GLACIER_API Aws::String SerializePayload() const override
ListPartsRequest & WithMarker(MarkerT &&value)
ListPartsRequest & WithAccountId(AccountIdT &&value)
void SetVaultName(VaultNameT &&value)
AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetVaultName() const
virtual const char * GetServiceRequestName() const override
AWS_GLACIER_API ListPartsRequest()=default
const Aws::String & GetLimit() const
ListPartsRequest & WithUploadId(UploadIdT &&value)
ListPartsRequest & WithVaultName(VaultNameT &&value)
void SetAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String