7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
70 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
87 inline void SetExpectedRevisionId(
const char* value) { m_expectedRevisionIdHasBeenSet =
true; m_expectedRevisionId.assign(value); }
95 bool m_resourceArnHasBeenSet =
false;
98 bool m_policyHasBeenSet =
false;
101 bool m_expectedRevisionIdHasBeenSet =
false;
void SetExpectedRevisionId(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
void SetExpectedRevisionId(Aws::String &&value)
UpdateResourcePolicyRequest & WithExpectedRevisionId(const char *value)
bool ResourceArnHasBeenSet() const
UpdateResourcePolicyRequest & WithExpectedRevisionId(const Aws::String &value)
const Aws::String & GetExpectedRevisionId() const
UpdateResourcePolicyRequest & WithPolicy(const Aws::String &value)
UpdateResourcePolicyRequest & WithResourceArn(const Aws::String &value)
void SetExpectedRevisionId(const char *value)
UpdateResourcePolicyRequest & WithExpectedRevisionId(Aws::String &&value)
void SetPolicy(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
AWS_LEXMODELSV2_API UpdateResourcePolicyRequest()
const Aws::String & GetPolicy() const
UpdateResourcePolicyRequest & WithResourceArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool ExpectedRevisionIdHasBeenSet() const
AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool PolicyHasBeenSet() const
UpdateResourcePolicyRequest & WithPolicy(const char *value)
void SetPolicy(const Aws::String &value)
void SetResourceArn(const char *value)
void SetPolicy(const char *value)
const Aws::String & GetResourceArn() const
UpdateResourcePolicyRequest & WithPolicy(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
UpdateResourcePolicyRequest & WithResourceArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String