7#include <aws/mpa/MPA_EXPORTS.h>
8#include <aws/mpa/MPARequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mpa/model/PolicyType.h>
42 template<
typename ResourceArnT = Aws::String>
43 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
44 template<
typename ResourceArnT = Aws::String>
54 template<
typename PolicyNameT = Aws::String>
55 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
56 template<
typename PolicyNameT = Aws::String>
72 bool m_resourceArnHasBeenSet =
false;
75 bool m_policyNameHasBeenSet =
false;
78 bool m_policyTypeHasBeenSet =
false;
AWS_MPA_API GetResourcePolicyRequest()=default
virtual const char * GetServiceRequestName() const override
const Aws::String & GetResourceArn() const
void SetPolicyName(PolicyNameT &&value)
AWS_MPA_API Aws::String SerializePayload() const override
bool PolicyTypeHasBeenSet() const
bool PolicyNameHasBeenSet() const
void SetResourceArn(ResourceArnT &&value)
void SetPolicyType(PolicyType value)
GetResourcePolicyRequest & WithPolicyName(PolicyNameT &&value)
bool ResourceArnHasBeenSet() const
const Aws::String & GetPolicyName() const
GetResourcePolicyRequest & WithPolicyType(PolicyType value)
GetResourcePolicyRequest & WithResourceArn(ResourceArnT &&value)
PolicyType GetPolicyType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String