7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
64 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
72 bool m_resourceArnHasBeenSet =
false;
75 bool m_policyHasBeenSet =
false;
void SetResourceArn(const Aws::String &value)
void SetPolicy(const Aws::String &value)
bool ResourceArnHasBeenSet() const
CreateResourcePolicyRequest & WithPolicy(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
bool PolicyHasBeenSet() const
const Aws::String & GetResourceArn() const
void SetPolicy(const char *value)
const Aws::String & GetPolicy() const
void SetPolicy(Aws::String &&value)
CreateResourcePolicyRequest & WithResourceArn(const Aws::String &value)
CreateResourcePolicyRequest & WithPolicy(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetResourceArn(const char *value)
void SetResourceArn(Aws::String &&value)
CreateResourcePolicyRequest & WithResourceArn(Aws::String &&value)
AWS_LEXMODELSV2_API CreateResourcePolicyRequest()
CreateResourcePolicyRequest & WithPolicy(const char *value)
CreateResourcePolicyRequest & WithResourceArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String