7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename PolicyNamesT = Aws::Vector<Aws::String>>
42 void SetPolicyNames(PolicyNamesT&& value) { m_policyNamesHasBeenSet =
true; m_policyNames = std::forward<PolicyNamesT>(value); }
43 template<
typename PolicyNamesT = Aws::Vector<Aws::String>>
45 template<
typename PolicyNamesT = Aws::String>
55 template<
typename NextMarkerT = Aws::String>
56 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet =
true; m_nextMarker = std::forward<NextMarkerT>(value); }
57 template<
typename NextMarkerT = Aws::String>
69 inline void SetTruncated(
bool value) { m_truncatedHasBeenSet =
true; m_truncated = value; }
76 template<
typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
78 template<
typename RequestIdT = Aws::String>
84 bool m_policyNamesHasBeenSet =
false;
87 bool m_nextMarkerHasBeenSet =
false;
89 bool m_truncated{
false};
90 bool m_truncatedHasBeenSet =
false;
93 bool m_requestIdHasBeenSet =
false;
AWS_KMS_API ListKeyPoliciesResult()=default
ListKeyPoliciesResult & AddPolicyNames(PolicyNamesT &&value)
void SetPolicyNames(PolicyNamesT &&value)
void SetNextMarker(NextMarkerT &&value)
ListKeyPoliciesResult & WithPolicyNames(PolicyNamesT &&value)
const Aws::String & GetNextMarker() const
const Aws::Vector< Aws::String > & GetPolicyNames() const
AWS_KMS_API ListKeyPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
bool GetTruncated() const
ListKeyPoliciesResult & WithNextMarker(NextMarkerT &&value)
ListKeyPoliciesResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_KMS_API ListKeyPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTruncated(bool value)
ListKeyPoliciesResult & WithTruncated(bool 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