7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/accessanalyzer/model/AccessCheckResourceType.h>
15namespace AccessAnalyzer
44 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
67 bool m_policyDocumentHasBeenSet =
false;
70 bool m_resourceTypeHasBeenSet =
false;
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
void SetPolicyDocument(const char *value)
void SetPolicyDocument(Aws::String &&value)
CheckNoPublicAccessRequest & WithPolicyDocument(const Aws::String &value)
AWS_ACCESSANALYZER_API CheckNoPublicAccessRequest()
CheckNoPublicAccessRequest & WithResourceType(const AccessCheckResourceType &value)
void SetPolicyDocument(const Aws::String &value)
void SetResourceType(AccessCheckResourceType &&value)
void SetResourceType(const AccessCheckResourceType &value)
bool PolicyDocumentHasBeenSet() const
CheckNoPublicAccessRequest & WithResourceType(AccessCheckResourceType &&value)
const Aws::String & GetPolicyDocument() const
const AccessCheckResourceType & GetResourceType() const
CheckNoPublicAccessRequest & WithPolicyDocument(const char *value)
virtual const char * GetServiceRequestName() const override
CheckNoPublicAccessRequest & WithPolicyDocument(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String