7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/ECR_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename RegistryIdT = Aws::String>
37 m_registryIdHasBeenSet =
true;
38 m_registryId = std::forward<RegistryIdT>(value);
40 template <
typename RegistryIdT = Aws::String>
52 template <
typename PolicyTextT = Aws::String>
54 m_policyTextHasBeenSet =
true;
55 m_policyText = std::forward<PolicyTextT>(value);
57 template <
typename PolicyTextT = 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>
87 bool m_registryIdHasBeenSet =
false;
88 bool m_policyTextHasBeenSet =
false;
89 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetPolicyText() const
AWS_ECR_API PutRegistryPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRegistryId(RegistryIdT &&value)
AWS_ECR_API PutRegistryPolicyResult()=default
PutRegistryPolicyResult & WithPolicyText(PolicyTextT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
PutRegistryPolicyResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
PutRegistryPolicyResult & WithRegistryId(RegistryIdT &&value)
void SetPolicyText(PolicyTextT &&value)
const Aws::String & GetRegistryId() const
AWS_ECR_API PutRegistryPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue