7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename PolicyInJsonT = Aws::String>
38 m_policyInJsonHasBeenSet =
true;
39 m_policyInJson = std::forward<PolicyInJsonT>(value);
41 template <
typename PolicyInJsonT = 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>
70 template <
typename CreateTimeT = Aws::Utils::DateTime>
72 m_createTimeHasBeenSet =
true;
73 m_createTime = std::forward<CreateTimeT>(value);
75 template <
typename CreateTimeT = Aws::Utils::DateTime>
87 template <
typename UpdateTimeT = Aws::Utils::DateTime>
89 m_updateTimeHasBeenSet =
true;
90 m_updateTime = std::forward<UpdateTimeT>(value);
92 template <
typename UpdateTimeT = Aws::Utils::DateTime>
102 template <
typename RequestIdT = Aws::String>
104 m_requestIdHasBeenSet =
true;
105 m_requestId = std::forward<RequestIdT>(value);
107 template <
typename RequestIdT = Aws::String>
126 bool m_policyInJsonHasBeenSet =
false;
127 bool m_policyHashHasBeenSet =
false;
128 bool m_createTimeHasBeenSet =
false;
129 bool m_updateTimeHasBeenSet =
false;
130 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
void SetUpdateTime(UpdateTimeT &&value)
AWS_GLUE_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetResourcePolicyResult & WithUpdateTime(UpdateTimeT &&value)
GetResourcePolicyResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetPolicyHash() const
GetResourcePolicyResult & WithCreateTime(CreateTimeT &&value)
void SetPolicyHash(PolicyHashT &&value)
void SetCreateTime(CreateTimeT &&value)
GetResourcePolicyResult & WithPolicyHash(PolicyHashT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetPolicyInJson(PolicyInJsonT &&value)
AWS_GLUE_API GetResourcePolicyResult()=default
AWS_GLUE_API GetResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourcePolicyResult & WithPolicyInJson(PolicyInJsonT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::String & GetPolicyInJson() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue