7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
40 template <
typename ResourceArnT = Aws::String>
42 m_resourceArnHasBeenSet =
true;
43 m_resourceArn = std::forward<ResourceArnT>(value);
45 template <
typename ResourceArnT = Aws::String>
58 template <
typename PolicyT = Aws::String>
60 m_policyHasBeenSet =
true;
61 m_policy = std::forward<PolicyT>(value);
63 template <
typename PolicyT = Aws::String>
76 template <
typename PolicyIdT = Aws::String>
78 m_policyIdHasBeenSet =
true;
79 m_policyId = std::forward<PolicyIdT>(value);
81 template <
typename PolicyIdT = Aws::String>
96 template <
typename PolicyHashT = Aws::String>
98 m_policyHashHasBeenSet =
true;
99 m_policyHash = std::forward<PolicyHashT>(value);
101 template <
typename PolicyHashT = Aws::String>
115 bool m_resourceArnHasBeenSet =
false;
116 bool m_policyHasBeenSet =
false;
117 bool m_policyIdHasBeenSet =
false;
118 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