7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kms/KMS_EXPORTS.h>
10#include <aws/kms/model/KeyListEntry.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename KeysT = Aws::Vector<KeyListEntry>>
38 m_keysHasBeenSet =
true;
39 m_keys = std::forward<KeysT>(value);
41 template <
typename KeysT = Aws::Vector<KeyListEntry>>
43 SetKeys(std::forward<KeysT>(value));
46 template <
typename KeysT = KeyListEntry>
48 m_keysHasBeenSet =
true;
49 m_keys.emplace_back(std::forward<KeysT>(value));
60 template <
typename NextMarkerT = Aws::String>
62 m_nextMarkerHasBeenSet =
true;
63 m_nextMarker = std::forward<NextMarkerT>(value);
65 template <
typename NextMarkerT = Aws::String>
81 m_truncatedHasBeenSet =
true;
93 template <
typename RequestIdT = Aws::String>
95 m_requestIdHasBeenSet =
true;
96 m_requestId = std::forward<RequestIdT>(value);
98 template <
typename RequestIdT = Aws::String>
109 bool m_truncated{
false};
112 bool m_keysHasBeenSet =
false;
113 bool m_nextMarkerHasBeenSet =
false;
114 bool m_truncatedHasBeenSet =
false;
115 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
ListKeysResult & WithKeys(KeysT &&value)
AWS_KMS_API ListKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextMarker() const
ListKeysResult & AddKeys(KeysT &&value)
void SetKeys(KeysT &&value)
bool GetTruncated() const
const Aws::Vector< KeyListEntry > & GetKeys() const
AWS_KMS_API ListKeysResult()=default
ListKeysResult & WithRequestId(RequestIdT &&value)
void SetNextMarker(NextMarkerT &&value)
void SetTruncated(bool value)
const Aws::String & GetRequestId() const
AWS_KMS_API ListKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListKeysResult & WithTruncated(bool value)
ListKeysResult & WithNextMarker(NextMarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue