7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
58 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
80 inline void SetPolicyRevisionId(
const char* value) { m_policyRevisionIdHasBeenSet =
true; m_policyRevisionId.assign(value); }
104 bool m_policyNameHasBeenSet =
false;
107 bool m_policyDocumentHasBeenSet =
false;
110 bool m_policyRevisionIdHasBeenSet =
false;
112 bool m_bypassPolicyLockoutCheck;
113 bool m_bypassPolicyLockoutCheckHasBeenSet =
false;
PutResourcePolicyRequest & WithPolicyRevisionId(const Aws::String &value)
void SetBypassPolicyLockoutCheck(bool value)
void SetPolicyDocument(const Aws::String &value)
void SetPolicyName(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyRevisionId(const char *value)
AWS_XRAY_API Aws::String SerializePayload() const override
void SetPolicyRevisionId(const char *value)
PutResourcePolicyRequest & WithPolicyDocument(Aws::String &&value)
void SetPolicyDocument(const char *value)
bool PolicyNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPolicyName() const
void SetPolicyDocument(Aws::String &&value)
bool BypassPolicyLockoutCheckHasBeenSet() const
AWS_XRAY_API PutResourcePolicyRequest()
PutResourcePolicyRequest & WithPolicyName(const Aws::String &value)
PutResourcePolicyRequest & WithBypassPolicyLockoutCheck(bool value)
void SetPolicyName(const char *value)
PutResourcePolicyRequest & WithPolicyName(Aws::String &&value)
PutResourcePolicyRequest & WithPolicyRevisionId(Aws::String &&value)
void SetPolicyRevisionId(const Aws::String &value)
bool GetBypassPolicyLockoutCheck() const
PutResourcePolicyRequest & WithPolicyName(const char *value)
const Aws::String & GetPolicyRevisionId() const
void SetPolicyName(Aws::String &&value)
const Aws::String & GetPolicyDocument() const
PutResourcePolicyRequest & WithPolicyDocument(const char *value)
bool PolicyDocumentHasBeenSet() const
void SetPolicyRevisionId(Aws::String &&value)
bool PolicyRevisionIdHasBeenSet() const
PutResourcePolicyRequest & WithPolicyDocument(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String