7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
36 template <
typename PolicyIdT = Aws::String>
38 m_policyIdHasBeenSet =
true;
39 m_policyId = std::forward<PolicyIdT>(value);
41 template <
typename PolicyIdT = Aws::String>
53 template <
typename PolicyHashT = Aws::String>
55 m_policyHashHasBeenSet =
true;
56 m_policyHash = std::forward<PolicyHashT>(value);
58 template <
typename PolicyHashT = Aws::String>
68 template <
typename RequestIdT = Aws::String>
70 m_requestIdHasBeenSet =
true;
71 m_requestId = std::forward<RequestIdT>(value);
73 template <
typename RequestIdT = Aws::String>
88 bool m_policyIdHasBeenSet =
false;
89 bool m_policyHashHasBeenSet =
false;
90 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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