7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/accessanalyzer/model/Locale.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/accessanalyzer/model/PolicyType.h>
12#include <aws/accessanalyzer/model/ValidatePolicyResourceType.h>
21namespace AccessAnalyzer
50 inline void SetLocale(
const Locale& value) { m_localeHasBeenSet =
true; m_locale = value; }
51 inline void SetLocale(
Locale&& value) { m_localeHasBeenSet =
true; m_locale = std::move(value); }
62 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
74 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
88 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
136 bool m_localeHasBeenSet =
false;
139 bool m_maxResultsHasBeenSet =
false;
142 bool m_nextTokenHasBeenSet =
false;
145 bool m_policyDocumentHasBeenSet =
false;
148 bool m_policyTypeHasBeenSet =
false;
151 bool m_validatePolicyResourceTypeHasBeenSet =
false;
void SetValidatePolicyResourceType(ValidatePolicyResourceType &&value)
ValidatePolicyRequest & WithPolicyType(PolicyType &&value)
void SetPolicyDocument(const char *value)
ValidatePolicyRequest & WithLocale(const Locale &value)
ValidatePolicyRequest & WithPolicyType(const PolicyType &value)
AWS_ACCESSANALYZER_API ValidatePolicyRequest()
ValidatePolicyRequest & WithNextToken(const Aws::String &value)
ValidatePolicyRequest & WithNextToken(const char *value)
void SetPolicyDocument(Aws::String &&value)
void SetNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ValidatePolicyRequest & WithLocale(Locale &&value)
bool LocaleHasBeenSet() const
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
ValidatePolicyRequest & WithNextToken(Aws::String &&value)
void SetLocale(Locale &&value)
void SetNextToken(const Aws::String &value)
const ValidatePolicyResourceType & GetValidatePolicyResourceType() const
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool MaxResultsHasBeenSet() const
void SetNextToken(const char *value)
ValidatePolicyRequest & WithValidatePolicyResourceType(const ValidatePolicyResourceType &value)
bool ValidatePolicyResourceTypeHasBeenSet() const
void SetValidatePolicyResourceType(const ValidatePolicyResourceType &value)
bool PolicyDocumentHasBeenSet() const
const Aws::String & GetNextToken() const
void SetPolicyType(PolicyType &&value)
ValidatePolicyRequest & WithPolicyDocument(const Aws::String &value)
void SetLocale(const Locale &value)
const PolicyType & GetPolicyType() const
ValidatePolicyRequest & WithPolicyDocument(const char *value)
void SetMaxResults(int value)
ValidatePolicyRequest & WithPolicyDocument(Aws::String &&value)
const Aws::String & GetPolicyDocument() const
void SetPolicyType(const PolicyType &value)
ValidatePolicyRequest & WithValidatePolicyResourceType(ValidatePolicyResourceType &&value)
bool NextTokenHasBeenSet() const
bool PolicyTypeHasBeenSet() const
void SetPolicyDocument(const Aws::String &value)
int GetMaxResults() const
ValidatePolicyRequest & WithMaxResults(int value)
const Locale & GetLocale() const
ValidatePolicyResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String