7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
35 template <
typename PolicyIdT = Aws::String>
37 m_policyIdHasBeenSet =
true;
38 m_policyId = std::forward<PolicyIdT>(value);
40 template <
typename PolicyIdT = Aws::String>
52 template <
typename PolicyHashT = Aws::String>
54 m_policyHashHasBeenSet =
true;
55 m_policyHash = std::forward<PolicyHashT>(value);
57 template <
typename PolicyHashT = Aws::String>
67 template <
typename RequestIdT = Aws::String>
69 m_requestIdHasBeenSet =
true;
70 m_requestId = std::forward<RequestIdT>(value);
72 template <
typename RequestIdT = Aws::String>
84 bool m_policyIdHasBeenSet =
false;
85 bool m_policyHashHasBeenSet =
false;
86 bool m_requestIdHasBeenSet =
false;
AWS_SSM_API PutResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutResourcePolicyResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetPolicyHash() const
PutResourcePolicyResult & WithPolicyHash(PolicyHashT &&value)
void SetPolicyId(PolicyIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetPolicyHash(PolicyHashT &&value)
PutResourcePolicyResult & WithPolicyId(PolicyIdT &&value)
const Aws::String & GetRequestId() const
AWS_SSM_API PutResourcePolicyResult()=default
AWS_SSM_API PutResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetPolicyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue