AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeCustomKeyStoresRequest.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace KMS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_KMS_API DescribeCustomKeyStoresRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeCustomKeyStores"; }
31
32 AWS_KMS_API Aws::String SerializePayload() const override;
33
35
36
38
45 inline const Aws::String& GetCustomKeyStoreId() const { return m_customKeyStoreId; }
46 inline bool CustomKeyStoreIdHasBeenSet() const { return m_customKeyStoreIdHasBeenSet; }
47 template<typename CustomKeyStoreIdT = Aws::String>
48 void SetCustomKeyStoreId(CustomKeyStoreIdT&& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = std::forward<CustomKeyStoreIdT>(value); }
49 template<typename CustomKeyStoreIdT = Aws::String>
50 DescribeCustomKeyStoresRequest& WithCustomKeyStoreId(CustomKeyStoreIdT&& value) { SetCustomKeyStoreId(std::forward<CustomKeyStoreIdT>(value)); return *this;}
52
54
62 inline const Aws::String& GetCustomKeyStoreName() const { return m_customKeyStoreName; }
63 inline bool CustomKeyStoreNameHasBeenSet() const { return m_customKeyStoreNameHasBeenSet; }
64 template<typename CustomKeyStoreNameT = Aws::String>
65 void SetCustomKeyStoreName(CustomKeyStoreNameT&& value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName = std::forward<CustomKeyStoreNameT>(value); }
66 template<typename CustomKeyStoreNameT = Aws::String>
67 DescribeCustomKeyStoresRequest& WithCustomKeyStoreName(CustomKeyStoreNameT&& value) { SetCustomKeyStoreName(std::forward<CustomKeyStoreNameT>(value)); return *this;}
69
71
76 inline int GetLimit() const { return m_limit; }
77 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
78 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
79 inline DescribeCustomKeyStoresRequest& WithLimit(int value) { SetLimit(value); return *this;}
81
83
88 inline const Aws::String& GetMarker() const { return m_marker; }
89 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
90 template<typename MarkerT = Aws::String>
91 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
92 template<typename MarkerT = Aws::String>
93 DescribeCustomKeyStoresRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
95 private:
96
97 Aws::String m_customKeyStoreId;
98 bool m_customKeyStoreIdHasBeenSet = false;
99
100 Aws::String m_customKeyStoreName;
101 bool m_customKeyStoreNameHasBeenSet = false;
102
103 int m_limit{0};
104 bool m_limitHasBeenSet = false;
105
106 Aws::String m_marker;
107 bool m_markerHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace KMS
112} // namespace Aws
DescribeCustomKeyStoresRequest & WithLimit(int value)
DescribeCustomKeyStoresRequest & WithMarker(MarkerT &&value)
DescribeCustomKeyStoresRequest & WithCustomKeyStoreId(CustomKeyStoreIdT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeCustomKeyStoresRequest & WithCustomKeyStoreName(CustomKeyStoreNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KMS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String