AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListAliasesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
9#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace PaymentCryptography {
15namespace Model {
16
20 public:
21 AWS_PAYMENTCRYPTOGRAPHY_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_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override;
30
31 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
38 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
39 template <typename KeyArnT = Aws::String>
40 void SetKeyArn(KeyArnT&& value) {
41 m_keyArnHasBeenSet = true;
42 m_keyArn = std::forward<KeyArnT>(value);
43 }
44 template <typename KeyArnT = Aws::String>
45 ListAliasesRequest& WithKeyArn(KeyArnT&& value) {
46 SetKeyArn(std::forward<KeyArnT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 template <typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) {
61 m_nextTokenHasBeenSet = true;
62 m_nextToken = std::forward<NextTokenT>(value);
63 }
64 template <typename NextTokenT = Aws::String>
65 ListAliasesRequest& WithNextToken(NextTokenT&& value) {
66 SetNextToken(std::forward<NextTokenT>(value));
67 return *this;
68 }
70
72
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) {
82 m_maxResultsHasBeenSet = true;
83 m_maxResults = value;
84 }
86 SetMaxResults(value);
87 return *this;
88 }
90 private:
91 Aws::String m_keyArn;
92
93 Aws::String m_nextToken;
94
95 int m_maxResults{0};
96 bool m_keyArnHasBeenSet = false;
97 bool m_nextTokenHasBeenSet = false;
98 bool m_maxResultsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace PaymentCryptography
103} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API ListAliasesRequest()=default
ListAliasesRequest & WithKeyArn(KeyArnT &&value)
ListAliasesRequest & WithNextToken(NextTokenT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String