7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/SSMIncidentsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
58 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
66 bool m_policyHasBeenSet =
false;
69 bool m_resourceArnHasBeenSet =
false;
void SetPolicy(const char *value)
virtual const char * GetServiceRequestName() const override
bool PolicyHasBeenSet() const
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
const Aws::String & GetResourceArn() const
PutResourcePolicyRequest & WithResourceArn(const char *value)
void SetResourceArn(const char *value)
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
void SetPolicy(const Aws::String &value)
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
AWS_SSMINCIDENTS_API PutResourcePolicyRequest()
void SetResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
bool ResourceArnHasBeenSet() const
PutResourcePolicyRequest & WithPolicy(const char *value)
void SetResourceArn(Aws::String &&value)
void SetPolicy(Aws::String &&value)
const Aws::String & GetPolicy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String