7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/DeletionMode.h>
41 template <
typename ResourceArnT = Aws::String>
43 m_resourceArnHasBeenSet =
true;
44 m_resourceArn = std::forward<ResourceArnT>(value);
46 template <
typename ResourceArnT = Aws::String>
59 template <
typename PolicyIdT = Aws::String>
61 m_policyIdHasBeenSet =
true;
62 m_policyId = std::forward<PolicyIdT>(value);
64 template <
typename PolicyIdT = Aws::String>
78 template <
typename PolicyHashT = Aws::String>
80 m_policyHashHasBeenSet =
true;
81 m_policyHash = std::forward<PolicyHashT>(value);
83 template <
typename PolicyHashT = Aws::String>
103 m_deletionModeHasBeenSet =
true;
104 m_deletionMode = value;
119 bool m_resourceArnHasBeenSet =
false;
120 bool m_policyIdHasBeenSet =
false;
121 bool m_policyHashHasBeenSet =
false;
122 bool m_deletionModeHasBeenSet =
false;
void SetResourceArn(ResourceArnT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetPolicyId() const
void SetPolicyId(PolicyIdT &&value)
DeletionMode GetDeletionMode() const
AWS_SSM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteResourcePolicyRequest & WithDeletionMode(DeletionMode value)
const Aws::String & GetPolicyHash() const
bool PolicyIdHasBeenSet() const
const Aws::String & GetResourceArn() const
bool DeletionModeHasBeenSet() const
DeleteResourcePolicyRequest & WithPolicyHash(PolicyHashT &&value)
AWS_SSM_API DeleteResourcePolicyRequest()=default
DeleteResourcePolicyRequest & WithResourceArn(ResourceArnT &&value)
void SetPolicyHash(PolicyHashT &&value)
bool PolicyHashHasBeenSet() const
bool ResourceArnHasBeenSet() const
DeleteResourcePolicyRequest & WithPolicyId(PolicyIdT &&value)
void SetDeletionMode(DeletionMode value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String