7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/BatchGetPolicyErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace VerifiedPermissions
58 template<
typename PolicyStoreIdT = Aws::String>
59 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet =
true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
60 template<
typename PolicyStoreIdT = Aws::String>
70 template<
typename PolicyIdT = Aws::String>
71 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
72 template<
typename PolicyIdT = Aws::String>
82 template<
typename MessageT = Aws::String>
83 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
84 template<
typename MessageT = Aws::String>
90 bool m_codeHasBeenSet =
false;
93 bool m_policyStoreIdHasBeenSet =
false;
96 bool m_policyIdHasBeenSet =
false;
99 bool m_messageHasBeenSet =
false;
bool PolicyStoreIdHasBeenSet() const
BatchGetPolicyErrorItem & WithPolicyStoreId(PolicyStoreIdT &&value)
void SetMessage(MessageT &&value)
BatchGetPolicyErrorItem & WithCode(BatchGetPolicyErrorCode value)
BatchGetPolicyErrorItem & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetPolicyErrorCode GetCode() const
bool MessageHasBeenSet() const
const Aws::String & GetPolicyStoreId() const
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyErrorItem(Aws::Utils::Json::JsonView jsonValue)
BatchGetPolicyErrorItem & WithPolicyId(PolicyIdT &&value)
void SetCode(BatchGetPolicyErrorCode value)
void SetPolicyStoreId(PolicyStoreIdT &&value)
void SetPolicyId(PolicyIdT &&value)
const Aws::String & GetPolicyId() const
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyErrorItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyErrorItem()=default
bool CodeHasBeenSet() const
bool PolicyIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue