AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCustomKeyStoreId(const Aws::String& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = value; }
48 inline void SetCustomKeyStoreId(Aws::String&& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = std::move(value); }
49 inline void SetCustomKeyStoreId(const char* value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId.assign(value); }
51 inline DescribeCustomKeyStoresRequest& WithCustomKeyStoreId(Aws::String&& value) { SetCustomKeyStoreId(std::move(value)); return *this;}
52 inline DescribeCustomKeyStoresRequest& WithCustomKeyStoreId(const char* value) { SetCustomKeyStoreId(value); return *this;}
54
56
64 inline const Aws::String& GetCustomKeyStoreName() const{ return m_customKeyStoreName; }
65 inline bool CustomKeyStoreNameHasBeenSet() const { return m_customKeyStoreNameHasBeenSet; }
66 inline void SetCustomKeyStoreName(const Aws::String& value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName = value; }
67 inline void SetCustomKeyStoreName(Aws::String&& value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName = std::move(value); }
68 inline void SetCustomKeyStoreName(const char* value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName.assign(value); }
71 inline DescribeCustomKeyStoresRequest& WithCustomKeyStoreName(const char* value) { SetCustomKeyStoreName(value); return *this;}
73
75
80 inline int GetLimit() const{ return m_limit; }
81 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
82 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
83 inline DescribeCustomKeyStoresRequest& WithLimit(int value) { SetLimit(value); return *this;}
85
87
92 inline const Aws::String& GetMarker() const{ return m_marker; }
93 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
94 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
95 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
96 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
97 inline DescribeCustomKeyStoresRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
98 inline DescribeCustomKeyStoresRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
99 inline DescribeCustomKeyStoresRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
101 private:
102
103 Aws::String m_customKeyStoreId;
104 bool m_customKeyStoreIdHasBeenSet = false;
105
106 Aws::String m_customKeyStoreName;
107 bool m_customKeyStoreNameHasBeenSet = false;
108
109 int m_limit;
110 bool m_limitHasBeenSet = false;
111
112 Aws::String m_marker;
113 bool m_markerHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace KMS
118} // namespace Aws
DescribeCustomKeyStoresRequest & WithCustomKeyStoreName(const Aws::String &value)
DescribeCustomKeyStoresRequest & WithMarker(const Aws::String &value)
DescribeCustomKeyStoresRequest & WithCustomKeyStoreId(const char *value)
DescribeCustomKeyStoresRequest & WithLimit(int value)
DescribeCustomKeyStoresRequest & WithCustomKeyStoreName(const char *value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeCustomKeyStoresRequest & WithCustomKeyStoreName(Aws::String &&value)
DescribeCustomKeyStoresRequest & WithMarker(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeCustomKeyStoresRequest & WithMarker(const char *value)
AWS_KMS_API Aws::String SerializePayload() const override
DescribeCustomKeyStoresRequest & WithCustomKeyStoreId(const Aws::String &value)
DescribeCustomKeyStoresRequest & WithCustomKeyStoreId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String