7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 template<
typename PolicyT = Aws::String>
43 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
44 template<
typename PolicyT = Aws::String>
55 template<
typename ResourceIdentifierT = Aws::String>
56 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet =
true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
57 template<
typename ResourceIdentifierT = Aws::String>
63 bool m_policyHasBeenSet =
false;
66 bool m_resourceIdentifierHasBeenSet =
false;
bool ResourceIdentifierHasBeenSet() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
const Aws::String & GetResourceIdentifier() const
virtual const char * GetServiceRequestName() const override
PutAuthPolicyRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
bool PolicyHasBeenSet() const
AWS_VPCLATTICE_API PutAuthPolicyRequest()=default
void SetPolicy(PolicyT &&value)
void SetResourceIdentifier(ResourceIdentifierT &&value)
PutAuthPolicyRequest & WithPolicy(PolicyT &&value)
const Aws::String & GetPolicy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String