7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
15namespace LookoutEquipment
47 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
61 inline void SetResourcePolicy(
const char* value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy.assign(value); }
75 inline void SetPolicyRevisionId(
const char* value) { m_policyRevisionIdHasBeenSet =
true; m_policyRevisionId.assign(value); }
90 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
98 bool m_resourceArnHasBeenSet =
false;
101 bool m_resourcePolicyHasBeenSet =
false;
104 bool m_policyRevisionIdHasBeenSet =
false;
107 bool m_clientTokenHasBeenSet =
false;
PutResourcePolicyRequest & WithClientToken(Aws::String &&value)
PutResourcePolicyRequest & WithResourcePolicy(const char *value)
bool ResourceArnHasBeenSet() const
AWS_LOOKOUTEQUIPMENT_API PutResourcePolicyRequest()
void SetResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetResourceArn(const char *value)
void SetClientToken(const Aws::String &value)
void SetPolicyRevisionId(const char *value)
PutResourcePolicyRequest & WithResourceArn(const char *value)
PutResourcePolicyRequest & WithClientToken(const Aws::String &value)
void SetResourcePolicy(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
void SetResourcePolicy(const char *value)
void SetPolicyRevisionId(Aws::String &&value)
PutResourcePolicyRequest & WithPolicyRevisionId(Aws::String &&value)
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
void SetClientToken(const char *value)
bool ResourcePolicyHasBeenSet() const
PutResourcePolicyRequest & WithPolicyRevisionId(const Aws::String &value)
bool ClientTokenHasBeenSet() const
bool PolicyRevisionIdHasBeenSet() const
void SetResourceArn(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutResourcePolicyRequest & WithPolicyRevisionId(const char *value)
PutResourcePolicyRequest & WithResourcePolicy(Aws::String &&value)
void SetResourcePolicy(Aws::String &&value)
PutResourcePolicyRequest & WithClientToken(const char *value)
const Aws::String & GetClientToken() const
void SetClientToken(Aws::String &&value)
void SetPolicyRevisionId(const Aws::String &value)
const Aws::String & GetPolicyRevisionId() const
PutResourcePolicyRequest & WithResourcePolicy(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetResourcePolicy() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String