7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
60 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
74 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
90 inline void SetPolicyHash(
const char* value) { m_policyHashHasBeenSet =
true; m_policyHash.assign(value); }
98 bool m_resourceArnHasBeenSet =
false;
101 bool m_policyHasBeenSet =
false;
104 bool m_policyIdHasBeenSet =
false;
107 bool m_policyHashHasBeenSet =
false;
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PolicyHashHasBeenSet() const
void SetPolicyHash(const char *value)
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
const Aws::String & GetPolicy() const
const Aws::String & GetResourceArn() const
AWS_SSM_API PutResourcePolicyRequest()
PutResourcePolicyRequest & WithPolicy(const char *value)
const Aws::String & GetPolicyHash() const
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithPolicyHash(Aws::String &&value)
void SetPolicy(const char *value)
void SetResourceArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetPolicyId(const Aws::String &value)
const Aws::String & GetPolicyId() const
PutResourcePolicyRequest & WithPolicyId(Aws::String &&value)
void SetPolicyId(const char *value)
bool PolicyHasBeenSet() const
void SetResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
bool ResourceArnHasBeenSet() const
PutResourcePolicyRequest & WithPolicyId(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyHash(const Aws::String &value)
bool PolicyIdHasBeenSet() const
PutResourcePolicyRequest & WithPolicyId(const char *value)
PutResourcePolicyRequest & WithPolicyHash(const char *value)
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
void SetPolicyId(Aws::String &&value)
void SetPolicy(Aws::String &&value)
void SetPolicyHash(Aws::String &&value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetPolicyHash(const Aws::String &value)
void SetPolicy(const Aws::String &value)
PutResourcePolicyRequest & WithResourceArn(const char *value)
void SetResourceArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String