AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
58 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
59 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
60 inline ListVaultsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
61 inline ListVaultsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
62 inline ListVaultsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
64
66
70 inline const Aws::String& GetMarker() const{ return m_marker; }
71 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
72 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
73 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
74 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
75 inline ListVaultsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
76 inline ListVaultsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
77 inline ListVaultsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
79
81
86 inline const Aws::String& GetLimit() const{ return m_limit; }
87 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
88 inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
89 inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
90 inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
91 inline ListVaultsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
92 inline ListVaultsRequest& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;}
93 inline ListVaultsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
95 private:
96
97 Aws::String m_accountId;
98 bool m_accountIdHasBeenSet = false;
99
100 Aws::String m_marker;
101 bool m_markerHasBeenSet = false;
102
103 Aws::String m_limit;
104 bool m_limitHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Glacier
109} // namespace Aws
ListVaultsRequest & WithAccountId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
ListVaultsRequest & WithLimit(const Aws::String &value)
const Aws::String & GetMarker() const
void SetMarker(const Aws::String &value)
const Aws::String & GetLimit() const
virtual const char * GetServiceRequestName() const override
ListVaultsRequest & WithAccountId(const char *value)
ListVaultsRequest & WithMarker(const Aws::String &value)
ListVaultsRequest & WithMarker(Aws::String &&value)
void SetLimit(const Aws::String &value)
AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_GLACIER_API Aws::String SerializePayload() const override
ListVaultsRequest & WithLimit(Aws::String &&value)
const Aws::String & GetAccountId() const
ListVaultsRequest & WithLimit(const char *value)
ListVaultsRequest & WithMarker(const char *value)
ListVaultsRequest & WithAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String