AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
56 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
57 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
58 inline ListMultipartUploadsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
59 inline ListMultipartUploadsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
60 inline ListMultipartUploadsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
62
64
67 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
68 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
69 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
70 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
71 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
72 inline ListMultipartUploadsRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
73 inline ListMultipartUploadsRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
74 inline ListMultipartUploadsRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
76
78
84 inline const Aws::String& GetMarker() const{ return m_marker; }
85 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
86 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
87 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
88 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
89 inline ListMultipartUploadsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
90 inline ListMultipartUploadsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
91 inline ListMultipartUploadsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
93
95
100 inline const Aws::String& GetLimit() const{ return m_limit; }
101 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
102 inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
103 inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
104 inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
105 inline ListMultipartUploadsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
106 inline ListMultipartUploadsRequest& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;}
107 inline ListMultipartUploadsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
109 private:
110
111 Aws::String m_accountId;
112 bool m_accountIdHasBeenSet = false;
113
114 Aws::String m_vaultName;
115 bool m_vaultNameHasBeenSet = false;
116
117 Aws::String m_marker;
118 bool m_markerHasBeenSet = false;
119
120 Aws::String m_limit;
121 bool m_limitHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Glacier
126} // namespace Aws
ListMultipartUploadsRequest & WithLimit(Aws::String &&value)
ListMultipartUploadsRequest & WithVaultName(const char *value)
ListMultipartUploadsRequest & WithAccountId(const char *value)
AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMultipartUploadsRequest & WithMarker(const char *value)
ListMultipartUploadsRequest & WithAccountId(const Aws::String &value)
ListMultipartUploadsRequest & WithMarker(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListMultipartUploadsRequest & WithVaultName(Aws::String &&value)
ListMultipartUploadsRequest & WithLimit(const char *value)
ListMultipartUploadsRequest & WithVaultName(const Aws::String &value)
ListMultipartUploadsRequest & WithAccountId(Aws::String &&value)
ListMultipartUploadsRequest & WithMarker(const Aws::String &value)
ListMultipartUploadsRequest & WithLimit(const Aws::String &value)
AWS_GLACIER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String