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/core/utils/memory/stl/AWSVector.h>
11#include <aws/accessanalyzer/model/AccessCheckPolicyType.h>
12#include <aws/accessanalyzer/model/Access.h>
17namespace AccessAnalyzer
46 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
92 bool m_policyDocumentHasBeenSet =
false;
95 bool m_accessHasBeenSet =
false;
98 bool m_policyTypeHasBeenSet =
false;
const Aws::String & GetPolicyDocument() const
bool PolicyDocumentHasBeenSet() const
CheckAccessNotGrantedRequest & WithPolicyDocument(Aws::String &&value)
void SetPolicyType(AccessCheckPolicyType &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
void SetPolicyType(const AccessCheckPolicyType &value)
bool AccessHasBeenSet() const
void SetPolicyDocument(const char *value)
void SetPolicyDocument(const Aws::String &value)
void SetPolicyDocument(Aws::String &&value)
AWS_ACCESSANALYZER_API CheckAccessNotGrantedRequest()
void SetAccess(const Aws::Vector< Access > &value)
void SetAccess(Aws::Vector< Access > &&value)
CheckAccessNotGrantedRequest & WithAccess(Aws::Vector< Access > &&value)
CheckAccessNotGrantedRequest & WithPolicyDocument(const char *value)
CheckAccessNotGrantedRequest & AddAccess(Access &&value)
CheckAccessNotGrantedRequest & WithAccess(const Aws::Vector< Access > &value)
virtual const char * GetServiceRequestName() const override
bool PolicyTypeHasBeenSet() const
CheckAccessNotGrantedRequest & AddAccess(const Access &value)
const Aws::Vector< Access > & GetAccess() const
CheckAccessNotGrantedRequest & WithPolicyType(AccessCheckPolicyType &&value)
CheckAccessNotGrantedRequest & WithPolicyDocument(const Aws::String &value)
const AccessCheckPolicyType & GetPolicyType() const
CheckAccessNotGrantedRequest & WithPolicyType(const AccessCheckPolicyType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector