AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListKeyRotationsRequest.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 <aws/kms/model/IncludeKeyMaterial.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KMS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KMS_API ListKeyRotationsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListKeyRotations"; }
32
33 AWS_KMS_API Aws::String SerializePayload() const override;
34
36
37
39
47 inline const Aws::String& GetKeyId() const { return m_keyId; }
48 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
49 template<typename KeyIdT = Aws::String>
50 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
51 template<typename KeyIdT = Aws::String>
52 ListKeyRotationsRequest& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
54
56
66 inline IncludeKeyMaterial GetIncludeKeyMaterial() const { return m_includeKeyMaterial; }
67 inline bool IncludeKeyMaterialHasBeenSet() const { return m_includeKeyMaterialHasBeenSet; }
68 inline void SetIncludeKeyMaterial(IncludeKeyMaterial value) { m_includeKeyMaterialHasBeenSet = true; m_includeKeyMaterial = value; }
71
73
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 ListKeyRotationsRequest& 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 template<typename MarkerT = Aws::String>
95 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
96 template<typename MarkerT = Aws::String>
97 ListKeyRotationsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
99 private:
100
101 Aws::String m_keyId;
102 bool m_keyIdHasBeenSet = false;
103
105 bool m_includeKeyMaterialHasBeenSet = false;
106
107 int m_limit{0};
108 bool m_limitHasBeenSet = false;
109
110 Aws::String m_marker;
111 bool m_markerHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace KMS
116} // namespace Aws
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListKeyRotationsRequest & WithKeyId(KeyIdT &&value)
virtual const char * GetServiceRequestName() const override
ListKeyRotationsRequest & WithMarker(MarkerT &&value)
ListKeyRotationsRequest & WithLimit(int value)
AWS_KMS_API ListKeyRotationsRequest()=default
ListKeyRotationsRequest & WithIncludeKeyMaterial(IncludeKeyMaterial value)
AWS_KMS_API Aws::String SerializePayload() const override
void SetIncludeKeyMaterial(IncludeKeyMaterial value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String