7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kms/KMS_EXPORTS.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
34 template <
typename PolicyT = Aws::String>
36 m_policyHasBeenSet =
true;
37 m_policy = std::forward<PolicyT>(value);
39 template <
typename PolicyT = Aws::String>
51 template <
typename PolicyNameT = Aws::String>
53 m_policyNameHasBeenSet =
true;
54 m_policyName = std::forward<PolicyNameT>(value);
56 template <
typename PolicyNameT = Aws::String>
66 template <
typename RequestIdT = Aws::String>
68 m_requestIdHasBeenSet =
true;
69 m_requestId = std::forward<RequestIdT>(value);
71 template <
typename RequestIdT = Aws::String>
83 bool m_policyHasBeenSet =
false;
84 bool m_policyNameHasBeenSet =
false;
85 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetPolicy() const
void SetRequestId(RequestIdT &&value)
AWS_KMS_API GetKeyPolicyResult()=default
void SetPolicyName(PolicyNameT &&value)
void SetPolicy(PolicyT &&value)
AWS_KMS_API GetKeyPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_KMS_API GetKeyPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKeyPolicyResult & WithPolicyName(PolicyNameT &&value)
GetKeyPolicyResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetPolicyName() const
GetKeyPolicyResult & WithPolicy(PolicyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue