AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ListKeysRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/kms/KMS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace KMS {
15namespace Model {
16
20 public:
21 AWS_KMS_API ListKeysRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListKeys"; }
28
29 AWS_KMS_API Aws::String SerializePayload() const override;
30
32
34
41 inline int GetLimit() const { return m_limit; }
42 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
43 inline void SetLimit(int value) {
44 m_limitHasBeenSet = true;
45 m_limit = value;
46 }
47 inline ListKeysRequest& WithLimit(int value) {
48 SetLimit(value);
49 return *this;
50 }
52
54
59 inline const Aws::String& GetMarker() const { return m_marker; }
60 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
61 template <typename MarkerT = Aws::String>
62 void SetMarker(MarkerT&& value) {
63 m_markerHasBeenSet = true;
64 m_marker = std::forward<MarkerT>(value);
65 }
66 template <typename MarkerT = Aws::String>
67 ListKeysRequest& WithMarker(MarkerT&& value) {
68 SetMarker(std::forward<MarkerT>(value));
69 return *this;
70 }
72 private:
73 int m_limit{0};
74
75 Aws::String m_marker;
76 bool m_limitHasBeenSet = false;
77 bool m_markerHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace KMS
82} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListKeysRequest & WithLimit(int value)
const Aws::String & GetMarker() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KMS_API Aws::String SerializePayload() const override
void SetMarker(MarkerT &&value)
ListKeysRequest & WithMarker(MarkerT &&value)
AWS_KMS_API ListKeysRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String