AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListVaultsRequest.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
31 {
32 public:
33 AWS_GLACIER_API ListVaultsRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "ListVaults"; }
40
41 AWS_GLACIER_API Aws::String SerializePayload() const override;
42
43 AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
55 inline const Aws::String& GetAccountId() const { return m_accountId; }
56 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
57 template<typename AccountIdT = Aws::String>
58 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
59 template<typename AccountIdT = Aws::String>
60 ListVaultsRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
62
64
68 inline const Aws::String& GetMarker() const { return m_marker; }
69 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
70 template<typename MarkerT = Aws::String>
71 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
72 template<typename MarkerT = Aws::String>
73 ListVaultsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
75
77
82 inline const Aws::String& GetLimit() const { return m_limit; }
83 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
84 template<typename LimitT = Aws::String>
85 void SetLimit(LimitT&& value) { m_limitHasBeenSet = true; m_limit = std::forward<LimitT>(value); }
86 template<typename LimitT = Aws::String>
87 ListVaultsRequest& WithLimit(LimitT&& value) { SetLimit(std::forward<LimitT>(value)); return *this;}
89 private:
90
91 Aws::String m_accountId;
92 bool m_accountIdHasBeenSet = false;
93
94 Aws::String m_marker;
95 bool m_markerHasBeenSet = false;
96
97 Aws::String m_limit;
98 bool m_limitHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Glacier
103} // 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