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/AccessCheckPolicyType.h>
15namespace AccessAnalyzer
44 inline void SetNewPolicyDocument(
const char* value) { m_newPolicyDocumentHasBeenSet =
true; m_newPolicyDocument.assign(value); }
58 inline void SetExistingPolicyDocument(
const char* value) { m_existingPolicyDocumentHasBeenSet =
true; m_existingPolicyDocument.assign(value); }
84 bool m_newPolicyDocumentHasBeenSet =
false;
87 bool m_existingPolicyDocumentHasBeenSet =
false;
90 bool m_policyTypeHasBeenSet =
false;
CheckNoNewAccessRequest & WithExistingPolicyDocument(Aws::String &&value)
void SetNewPolicyDocument(Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
CheckNoNewAccessRequest & WithNewPolicyDocument(const char *value)
bool PolicyTypeHasBeenSet() const
void SetNewPolicyDocument(const char *value)
virtual const char * GetServiceRequestName() const override
CheckNoNewAccessRequest & WithPolicyType(AccessCheckPolicyType &&value)
const AccessCheckPolicyType & GetPolicyType() const
void SetExistingPolicyDocument(const Aws::String &value)
const Aws::String & GetExistingPolicyDocument() const
bool ExistingPolicyDocumentHasBeenSet() const
void SetPolicyType(const AccessCheckPolicyType &value)
void SetExistingPolicyDocument(const char *value)
AWS_ACCESSANALYZER_API CheckNoNewAccessRequest()
CheckNoNewAccessRequest & WithExistingPolicyDocument(const char *value)
CheckNoNewAccessRequest & WithNewPolicyDocument(const Aws::String &value)
CheckNoNewAccessRequest & WithExistingPolicyDocument(const Aws::String &value)
bool NewPolicyDocumentHasBeenSet() const
void SetExistingPolicyDocument(Aws::String &&value)
CheckNoNewAccessRequest & WithPolicyType(const AccessCheckPolicyType &value)
void SetNewPolicyDocument(const Aws::String &value)
void SetPolicyType(AccessCheckPolicyType &&value)
CheckNoNewAccessRequest & WithNewPolicyDocument(Aws::String &&value)
const Aws::String & GetNewPolicyDocument() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String