7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename ResourceArnT = Aws::String>
45 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
46 template<
typename ResourceArnT = Aws::String>
56 template<
typename PolicyT = Aws::String>
57 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
58 template<
typename PolicyT = Aws::String>
68 template<
typename PolicyIdT = Aws::String>
69 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
70 template<
typename PolicyIdT = Aws::String>
82 template<
typename PolicyHashT = Aws::String>
83 void SetPolicyHash(PolicyHashT&& value) { m_policyHashHasBeenSet =
true; m_policyHash = std::forward<PolicyHashT>(value); }
84 template<
typename PolicyHashT = Aws::String>
90 bool m_resourceArnHasBeenSet =
false;
93 bool m_policyHasBeenSet =
false;
96 bool m_policyIdHasBeenSet =
false;
99 bool m_policyHashHasBeenSet =
false;
void SetPolicyHash(PolicyHashT &&value)
AWS_SSM_API PutResourcePolicyRequest()=default
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PolicyHashHasBeenSet() const
void SetPolicy(PolicyT &&value)
const Aws::String & GetPolicy() const
const Aws::String & GetResourceArn() const
const Aws::String & GetPolicyHash() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPolicyId() const
bool PolicyHasBeenSet() const
bool ResourceArnHasBeenSet() const
PutResourcePolicyRequest & WithPolicyHash(PolicyHashT &&value)
bool PolicyIdHasBeenSet() const
PutResourcePolicyRequest & WithPolicy(PolicyT &&value)
PutResourcePolicyRequest & WithPolicyId(PolicyIdT &&value)
PutResourcePolicyRequest & WithResourceArn(ResourceArnT &&value)
void SetPolicyId(PolicyIdT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetResourceArn(ResourceArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String