AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ListAliasesRequest.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 ListAliasesRequest() = 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 "ListAliases"; }
28
29 AWS_KMS_API Aws::String SerializePayload() const override;
30
32
34
45 inline const Aws::String& GetKeyId() const { return m_keyId; }
46 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
47 template <typename KeyIdT = Aws::String>
48 void SetKeyId(KeyIdT&& value) {
49 m_keyIdHasBeenSet = true;
50 m_keyId = std::forward<KeyIdT>(value);
51 }
52 template <typename KeyIdT = Aws::String>
53 ListAliasesRequest& WithKeyId(KeyIdT&& value) {
54 SetKeyId(std::forward<KeyIdT>(value));
55 return *this;
56 }
58
60
67 inline int GetLimit() const { return m_limit; }
68 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
69 inline void SetLimit(int value) {
70 m_limitHasBeenSet = true;
71 m_limit = value;
72 }
73 inline ListAliasesRequest& WithLimit(int value) {
74 SetLimit(value);
75 return *this;
76 }
78
80
85 inline const Aws::String& GetMarker() const { return m_marker; }
86 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
87 template <typename MarkerT = Aws::String>
88 void SetMarker(MarkerT&& value) {
89 m_markerHasBeenSet = true;
90 m_marker = std::forward<MarkerT>(value);
91 }
92 template <typename MarkerT = Aws::String>
93 ListAliasesRequest& WithMarker(MarkerT&& value) {
94 SetMarker(std::forward<MarkerT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_keyId;
100
101 int m_limit{0};
102
103 Aws::String m_marker;
104 bool m_keyIdHasBeenSet = false;
105 bool m_limitHasBeenSet = false;
106 bool m_markerHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace KMS
111} // namespace Aws
const Aws::String & GetMarker() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KMS_API ListAliasesRequest()=default
ListAliasesRequest & WithMarker(MarkerT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKeyId() const
AWS_KMS_API Aws::String SerializePayload() const override
ListAliasesRequest & WithLimit(int value)
ListAliasesRequest & WithKeyId(KeyIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String