AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListJobsRequest.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 ListJobsRequest() = 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 "ListJobs"; }
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 ListJobsRequest& 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 ListJobsRequest& WithVaultName(VaultNameT&& value) { SetVaultName(std::forward<VaultNameT>(value)); return *this;}
72
74
79 inline const Aws::String& GetLimit() const { return m_limit; }
80 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
81 template<typename LimitT = Aws::String>
82 void SetLimit(LimitT&& value) { m_limitHasBeenSet = true; m_limit = std::forward<LimitT>(value); }
83 template<typename LimitT = Aws::String>
84 ListJobsRequest& WithLimit(LimitT&& value) { SetLimit(std::forward<LimitT>(value)); return *this;}
86
88
94 inline const Aws::String& GetMarker() const { return m_marker; }
95 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
96 template<typename MarkerT = Aws::String>
97 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
98 template<typename MarkerT = Aws::String>
99 ListJobsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
101
103
107 inline const Aws::String& GetStatuscode() const { return m_statuscode; }
108 inline bool StatuscodeHasBeenSet() const { return m_statuscodeHasBeenSet; }
109 template<typename StatuscodeT = Aws::String>
110 void SetStatuscode(StatuscodeT&& value) { m_statuscodeHasBeenSet = true; m_statuscode = std::forward<StatuscodeT>(value); }
111 template<typename StatuscodeT = Aws::String>
112 ListJobsRequest& WithStatuscode(StatuscodeT&& value) { SetStatuscode(std::forward<StatuscodeT>(value)); return *this;}
114
116
120 inline const Aws::String& GetCompleted() const { return m_completed; }
121 inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; }
122 template<typename CompletedT = Aws::String>
123 void SetCompleted(CompletedT&& value) { m_completedHasBeenSet = true; m_completed = std::forward<CompletedT>(value); }
124 template<typename CompletedT = Aws::String>
125 ListJobsRequest& WithCompleted(CompletedT&& value) { SetCompleted(std::forward<CompletedT>(value)); return *this;}
127 private:
128
129 Aws::String m_accountId;
130 bool m_accountIdHasBeenSet = false;
131
132 Aws::String m_vaultName;
133 bool m_vaultNameHasBeenSet = false;
134
135 Aws::String m_limit;
136 bool m_limitHasBeenSet = false;
137
138 Aws::String m_marker;
139 bool m_markerHasBeenSet = false;
140
141 Aws::String m_statuscode;
142 bool m_statuscodeHasBeenSet = false;
143
144 Aws::String m_completed;
145 bool m_completedHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Glacier
150} // namespace Aws
ListJobsRequest & WithLimit(LimitT &&value)
AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetLimit() const
void SetCompleted(CompletedT &&value)
const Aws::String & GetVaultName() const
ListJobsRequest & WithAccountId(AccountIdT &&value)
void SetStatuscode(StatuscodeT &&value)
ListJobsRequest & WithVaultName(VaultNameT &&value)
const Aws::String & GetMarker() const
const Aws::String & GetStatuscode() const
ListJobsRequest & WithMarker(MarkerT &&value)
AWS_GLACIER_API Aws::String SerializePayload() const override
void SetAccountId(AccountIdT &&value)
AWS_GLACIER_API ListJobsRequest()=default
const Aws::String & GetCompleted() const
const Aws::String & GetAccountId() const
void SetVaultName(VaultNameT &&value)
ListJobsRequest & WithCompleted(CompletedT &&value)
ListJobsRequest & WithStatuscode(StatuscodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String