AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ListVaultsRequest.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
28 public:
29 AWS_GLACIER_API ListVaultsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListVaults"; }
36
37 AWS_GLACIER_API Aws::String SerializePayload() const override;
38
39 AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
50 inline const Aws::String& GetAccountId() const { return m_accountId; }
51 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
52 template <typename AccountIdT = Aws::String>
53 void SetAccountId(AccountIdT&& value) {
54 m_accountIdHasBeenSet = true;
55 m_accountId = std::forward<AccountIdT>(value);
56 }
57 template <typename AccountIdT = Aws::String>
58 ListVaultsRequest& WithAccountId(AccountIdT&& value) {
59 SetAccountId(std::forward<AccountIdT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::String& GetMarker() const { return m_marker; }
70 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
71 template <typename MarkerT = Aws::String>
72 void SetMarker(MarkerT&& value) {
73 m_markerHasBeenSet = true;
74 m_marker = std::forward<MarkerT>(value);
75 }
76 template <typename MarkerT = Aws::String>
77 ListVaultsRequest& WithMarker(MarkerT&& value) {
78 SetMarker(std::forward<MarkerT>(value));
79 return *this;
80 }
82
84
89 inline const Aws::String& GetLimit() const { return m_limit; }
90 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
91 template <typename LimitT = Aws::String>
92 void SetLimit(LimitT&& value) {
93 m_limitHasBeenSet = true;
94 m_limit = std::forward<LimitT>(value);
95 }
96 template <typename LimitT = Aws::String>
97 ListVaultsRequest& WithLimit(LimitT&& value) {
98 SetLimit(std::forward<LimitT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_accountId;
104
105 Aws::String m_marker;
106
107 Aws::String m_limit;
108 bool m_accountIdHasBeenSet = false;
109 bool m_markerHasBeenSet = false;
110 bool m_limitHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Glacier
115} // namespace Aws
ListVaultsRequest & WithAccountId(AccountIdT &&value)
AWS_GLACIER_API ListVaultsRequest()=default
const Aws::String & GetMarker() const
ListVaultsRequest & WithMarker(MarkerT &&value)
const Aws::String & GetLimit() const
virtual const char * GetServiceRequestName() const override
ListVaultsRequest & WithLimit(LimitT &&value)
AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_GLACIER_API Aws::String SerializePayload() const override
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String